Skip to content

Commit 5553613

Browse files
Jean-Baptiste Queruandroid code review
authored andcommitted
Merge "libstagefright/matroska: Fix build with gcc 4.7"
2 parents 05cd296 + 943347c commit 5553613

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

media/libstagefright/matroska/MatroskaExtractor.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -768,12 +768,12 @@ void MatroskaExtractor::findThumbnails() {
768768
}
769769

770770
BlockIterator iter(this, info->mTrackNum);
771-
int32_t i = 0;
771+
int32_t j = 0;
772772
int64_t thumbnailTimeUs = 0;
773773
size_t maxBlockSize = 0;
774-
while (!iter.eos() && i < 20) {
774+
while (!iter.eos() && j < 20) {
775775
if (iter.block()->IsKey()) {
776-
++i;
776+
++j;
777777

778778
size_t blockSize = 0;
779779
for (int i = 0; i < iter.block()->GetFrameCount(); ++i) {

0 commit comments

Comments
 (0)