Merge "libstagefright/matroska: Fix build with gcc 4.7"

This commit is contained in:
Jean-Baptiste Queru
2012-05-24 06:53:51 -07:00
committed by android code review

View File

@@ -768,12 +768,12 @@ void MatroskaExtractor::findThumbnails() {
}
BlockIterator iter(this, info->mTrackNum);
int32_t i = 0;
int32_t j = 0;
int64_t thumbnailTimeUs = 0;
size_t maxBlockSize = 0;
while (!iter.eos() && i < 20) {
while (!iter.eos() && j < 20) {
if (iter.block()->IsKey()) {
++i;
++j;
size_t blockSize = 0;
for (int i = 0; i < iter.block()->GetFrameCount(); ++i) {