diff options
author | James Dong <jdong@google.com> | 2012-09-05 16:46:36 -0700 |
---|---|---|
committer | James Dong <jdong@google.com> | 2012-09-05 16:48:18 -0700 |
commit | 6638f3bd61df1e5d012bc600b7af4c1b4dd4a06b (patch) | |
tree | d85852960e73653060c9a1dc07a9678e4600fddd /services/camera/libcameraservice/Camera2Device.cpp | |
parent | 0d268a3cae145afb2720c88ae38fb81550be5584 (diff) | |
download | frameworks_av-6638f3bd61df1e5d012bc600b7af4c1b4dd4a06b.zip frameworks_av-6638f3bd61df1e5d012bc600b7af4c1b4dd4a06b.tar.gz frameworks_av-6638f3bd61df1e5d012bc600b7af4c1b4dd4a06b.tar.bz2 |
Fix an issue where the "mFrameCount" field was accessed without its containing object
Change-Id: I6077b61b3e718b9b44ff86ca669a59f96b0b256f
Diffstat (limited to 'services/camera/libcameraservice/Camera2Device.cpp')
-rw-r--r-- | services/camera/libcameraservice/Camera2Device.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/camera/libcameraservice/Camera2Device.cpp b/services/camera/libcameraservice/Camera2Device.cpp index f62c0a0..daeeebb 100644 --- a/services/camera/libcameraservice/Camera2Device.cpp +++ b/services/camera/libcameraservice/Camera2Device.cpp @@ -1030,7 +1030,7 @@ int Camera2Device::StreamAdapter::enqueue_buffer(const camera2_stream_ops_t* w, const_cast<StreamAdapter*>(static_cast<const StreamAdapter*>(w)); stream->mFrameCount++; ALOGVV("Stream %d enqueue: Frame %d (%p) captured at %lld ns", - stream->mId, mFrameCount, (void*)(*buffer), timestamp); + stream->mId, stream->mFrameCount, (void*)(*buffer), timestamp); int state = stream->mState; if (state != ACTIVE) { ALOGE("%s: Called when in bad state: %d", __FUNCTION__, state); |