avformat/mov: E-AC-3 streams need parsing too.

syncframes in E-AC-3 can be combined to provide 6 audio blocks per
sample, thus requiring parsing for proper decoding.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Benoit Fouet 2014-10-09 09:17:49 +02:00 committed by Michael Niedermayer
parent d5a6f11272
commit 7cda31cb92
1 changed files with 1 additions and 0 deletions

View File

@ -1699,6 +1699,7 @@ static int mov_finalize_stsd_codec(MOVContext *c, AVIOContext *pb,
} }
break; break;
case AV_CODEC_ID_AC3: case AV_CODEC_ID_AC3:
case AV_CODEC_ID_EAC3:
case AV_CODEC_ID_MPEG1VIDEO: case AV_CODEC_ID_MPEG1VIDEO:
case AV_CODEC_ID_VC1: case AV_CODEC_ID_VC1:
st->need_parsing = AVSTREAM_PARSE_FULL; st->need_parsing = AVSTREAM_PARSE_FULL;