[FFmpeg-cvslog] movenc: fix tkhd height for imx
Baptiste Coudurier
git
Thu Mar 3 18:23:05 CET 2011
ffmpeg | branch: master | Baptiste Coudurier <baptiste.coudurier at gmail.com> | Tue Mar 1 23:36:48 2011 +0000| [5bb50c71a37e9e258e0c1053d837cf328d153138] | committer: Michael Niedermayer
movenc: fix tkhd height for imx
Signed-off-by: Mans Rullgard <mans at mansr.com>
(cherry picked from commit fffdee89cc0712ed3324bae1f86e271a36c02822)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5bb50c71a37e9e258e0c1053d837cf328d153138
---
libavformat/movenc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 361db17..f3a4a96 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)
More information about the ffmpeg-cvslog
mailing list