diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-12-09 14:24:46 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-12-09 14:24:46 +0100 |
commit | 362383b743f3a379675ff4b310d357893a6a872e (patch) | |
tree | d943c21fee2862b5304b53311c6d17cdc503d811 | |
parent | c5a837658acd3e65029e6c8b52dd6cdffdb608b0 (diff) | |
download | ffmpeg-362383b743f3a379675ff4b310d357893a6a872e.tar.gz |
Fix remuxing of IMA_QT in mov.
Fixes ticket #1603.
-rw-r--r-- | libavformat/movenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 92ce5341e6..7315417ca2 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 && |