]> git.sesse.net Git - vlc/blobdiff - modules/codec/avcodec/avcodec.c
AVCodec : Allow delayed opening of audio codecs.
[vlc] / modules / codec / avcodec / avcodec.c
index 9b54976087d0bdd66fab064d237844013427486a..a09be391a8bd50cd62c5ad710867fb965658002b 100644 (file)
@@ -409,7 +409,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_THEORA ||
+            p_sys->i_codec_id == CODEC_ID_AAC )
         {
             msg_Warn( p_dec, "waiting for extra data for codec %s",
                       p_sys->psz_namecodec );