movenc: fix tkhd height for imx

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit fffdee89cc)
This commit is contained in:
Baptiste Coudurier 2011-03-01 23:36:48 +00:00 committed by Michael Niedermayer
parent 813cc7abaf
commit 5bb50c71a3
1 changed files with 1 additions and 1 deletions

View File

@ -1218,7 +1218,7 @@ static int mov_write_tkhd_tag(AVIOContext *pb, MOVTrack *track, AVStream *st)
track->enc->codec_type == AVMEDIA_TYPE_SUBTITLE)) {
if(track->mode == MODE_MOV) {
avio_wb32(pb, track->enc->width << 16);
avio_wb32(pb, track->enc->height << 16);
avio_wb32(pb, track->height << 16);
} else {
double sample_aspect_ratio = av_q2d(st->sample_aspect_ratio);
if(!sample_aspect_ratio || track->height != track->enc->height)