diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2011-03-01 23:36:48 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-03-03 14:15:09 +0100 |
commit | 5bb50c71a37e9e258e0c1053d837cf328d153138 (patch) | |
tree | 3b402b98d40a58a859dcdeae759431deceb3257c | |
parent | 813cc7abafad646522fbcf24c5ecd00412236381 (diff) | |
download | ffmpeg-5bb50c71a37e9e258e0c1053d837cf328d153138.tar.gz |
movenc: fix tkhd height for imx
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit fffdee89cc0712ed3324bae1f86e271a36c02822)
-rw-r--r-- | libavformat/movenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 361db17bb8..f3a4a9686d 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -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) |