Commit e0a4ac83 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>
parent 2ac69428
......@@ -441,7 +441,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