Skip to content

Commit 2c2ed7b

Browse files
theandi666Android (Google) Code Review
authored andcommitted
Merge "Fixes a typo in AVIExtractor that would advertise the wrong video dimensions" into ics-mr1
2 parents 22d5d7b + 1fc2e60 commit 2c2ed7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

media/libstagefright/AVIExtractor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ status_t AVIExtractor::addH264CodecSpecificData(size_t trackIndex) {
10941094
CHECK(meta->findData(kKeyAVCC, &type, &csd, &csdSize));
10951095

10961096
track->mMeta->setInt32(kKeyWidth, width);
1097-
track->mMeta->setInt32(kKeyHeight, width);
1097+
track->mMeta->setInt32(kKeyHeight, height);
10981098
track->mMeta->setData(kKeyAVCC, type, csd, csdSize);
10991099

11001100
return OK;

0 commit comments

Comments
 (0)