[FFmpeg-devel] [PATCH] In mov muxer, fix tkhd height for imx
Måns Rullgård
mans
Wed Mar 2 00:45:44 CET 2011
Baptiste Coudurier <baptiste.coudurier at gmail.com> writes:
> ---
> libavformat/movenc.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavformat/movenc.c b/libavformat/movenc.c
> index e4cf3f0..2f4c160 100644
> --- a/libavformat/movenc.c
> +++ b/libavformat/movenc.c
> @@ -1225,7 +1225,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);
Looks reasonable, queued.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list