aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2011-03-01 23:36:48 +0000
committerMans Rullgard <mans@mansr.com>2011-03-01 23:45:03 +0000
commitfffdee89cc0712ed3324bae1f86e271a36c02822 (patch)
treeb013bdc2c9987ef63a3f95fdbbf2dcd57abb710e /libavformat/movenc.c
parent0300db8ad778a194b4a8ec98f6da3de5b41c46ee (diff)
downloadffmpeg-fffdee89cc0712ed3324bae1f86e271a36c02822.tar.gz
movenc: fix tkhd height for imx
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 030cbda467..3722bb6384 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1217,7 +1217,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)