Fix remuxing of IMA_QT in mov.

Fixes ticket #1603.
This commit is contained in:
Carl Eugen Hoyos 2013-12-09 14:24:46 +01:00
parent c5a837658a
commit 362383b743
1 changed files with 2 additions and 1 deletions

View File

@ -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 &&