Commit a27a39a7 authored by Rui Zhang's avatar Rui Zhang Committed by Jean-Baptiste Kempf

Avcodec: disable delayed opening for packetized AAC data

This is usually not visible, since you need avcodec+avformat, instead of
ts/faad. Close #6847
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit e0a4ac832b5214561944cd8212d7a94ad5d0ce87)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 4446014f
......@@ -423,7 +423,8 @@ int ffmpeg_OpenCodec( decoder_t *p_dec )
if( p_sys->i_codec_id == CODEC_ID_VC1 ||
p_sys->i_codec_id == CODEC_ID_VORBIS ||
p_sys->i_codec_id == CODEC_ID_THEORA ||
p_sys->i_codec_id == CODEC_ID_AAC )
( p_sys->i_codec_id == CODEC_ID_AAC &&
!p_dec->fmt_in.b_packetized ) )
{
msg_Warn( p_dec, "waiting for extra data for codec %s",
p_sys->psz_namecodec );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment