diff options
author | Lajos Molnar <lajos@google.com> | 2014-12-09 01:19:47 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-12-09 01:19:48 +0000 |
commit | 3cc937346baf31fda7f0587a8e622938fbb68983 (patch) | |
tree | a7c9af84d531dedae6d4f7f6661d83c6d25dd3ee | |
parent | 56335ae2978765e3bbc510468d4812b691545d04 (diff) | |
parent | 6c955eb0b4777eeade077f99bfa50e462906819a (diff) | |
download | frameworks_av-3cc937346baf31fda7f0587a8e622938fbb68983.zip frameworks_av-3cc937346baf31fda7f0587a8e622938fbb68983.tar.gz frameworks_av-3cc937346baf31fda7f0587a8e622938fbb68983.tar.bz2 |
Merge "Fix build with clang"
-rw-r--r-- | media/img_utils/src/TiffWriter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/media/img_utils/src/TiffWriter.cpp b/media/img_utils/src/TiffWriter.cpp index ac41734..a6f9218 100644 --- a/media/img_utils/src/TiffWriter.cpp +++ b/media/img_utils/src/TiffWriter.cpp @@ -106,7 +106,6 @@ status_t TiffWriter::write(Output* out, StripSource** sources, size_t sourcesCou for (size_t i = 0; i < offVecSize; ++i) { uint32_t ifdKey = offsetVector.keyAt(i); - uint32_t nextOffset = offsetVector[i]; uint32_t sizeToWrite = mNamedIfds[ifdKey]->getStripSize(); bool found = false; for (size_t j = 0; j < sourcesCount; ++j) { @@ -124,7 +123,7 @@ status_t TiffWriter::write(Output* out, StripSource** sources, size_t sourcesCou ALOGE("%s: No stream for byte strips for IFD %u", __FUNCTION__, ifdKey); return BAD_VALUE; } - assert(nextOffset == endOut.getCurrentOffset()); + assert(offsetVector[i] == endOut.getCurrentOffset()); } return ret; |