[FFmpeg-cvslog] Fix remuxing of IMA_QT in mov.

Carl Eugen Hoyos git at videolan.org
Mon Dec 9 20:51:01 CET 2013


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Mon Dec  9 14:24:46 2013 +0100| [362383b743f3a379675ff4b310d357893a6a872e] | committer: Carl Eugen Hoyos

Fix remuxing of IMA_QT in mov.

Fixes ticket #1603.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=362383b743f3a379675ff4b310d357893a6a872e
---

 libavformat/movenc.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 92ce534..7315417 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -3885,7 +3885,8 @@ static int mov_write_header(AVFormatContext *s)
             }else{
                 track->sample_size = (av_get_bits_per_sample(st->codec->codec_id) >> 3) * st->codec->channels;
             }
-            if (st->codec->codec_id == AV_CODEC_ID_ILBC) {
+            if (st->codec->codec_id == AV_CODEC_ID_ILBC ||
+                st->codec->codec_id == AV_CODEC_ID_ADPCM_IMA_QT) {
                 track->audio_vbr = 1;
             }
             if (track->mode != MODE_MOV &&



More information about the ffmpeg-cvslog mailing list