aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2013-12-09 14:24:46 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-12-09 14:24:46 +0100
commit362383b743f3a379675ff4b310d357893a6a872e (patch)
treed943c21fee2862b5304b53311c6d17cdc503d811 /libavformat
parentc5a837658acd3e65029e6c8b52dd6cdffdb608b0 (diff)
downloadffmpeg-362383b743f3a379675ff4b310d357893a6a872e.tar.gz
Fix remuxing of IMA_QT in mov.
Fixes ticket #1603.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/movenc.c3
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 &&