Merge "Fixes a typo in AVIExtractor that would advertise the wrong video dimensions" into ics-mr1

This commit is contained in:
Andreas Huber
2011-12-01 10:18:19 -08:00
committed by Android (Google) Code Review

View File

@@ -1094,7 +1094,7 @@ status_t AVIExtractor::addH264CodecSpecificData(size_t trackIndex) {
CHECK(meta->findData(kKeyAVCC, &type, &csd, &csdSize));
track->mMeta->setInt32(kKeyWidth, width);
track->mMeta->setInt32(kKeyHeight, width);
track->mMeta->setInt32(kKeyHeight, height);
track->mMeta->setData(kKeyAVCC, type, csd, csdSize);
return OK;