summaryrefslogtreecommitdiff
Diffstat
-rw-r--r--v3/fake-pipeline2/JpegCompressor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/v3/fake-pipeline2/JpegCompressor.cpp b/v3/fake-pipeline2/JpegCompressor.cpp
index 4399d4d..df528f9 100644
--- a/v3/fake-pipeline2/JpegCompressor.cpp
+++ b/v3/fake-pipeline2/JpegCompressor.cpp
@@ -252,7 +252,8 @@ bool JpegCompressor::threadLoop() {
}
mMutex.unlock();
}
- bool foundJpeg = false, mFoundAux = false;
+ mFoundJpeg = false;
+ mFoundAux = false;
for (size_t i = 0; i < mBuffers->size(); i++) {
const StreamBuffer &b = (*mBuffers)[i];
if (b.format == HAL_PIXEL_FORMAT_BLOB) {