diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 5bcc3fe2f347d80a66205fe98baec564cb0a0ce8..09a77c48526aa4c62a75e29602d26a32a7b25ff2 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -822,7 +822,7 @@ retry_duration:
             }
             if ((ret = flv_get_extradata(s, st, size)) < 0)
                 return ret;
-            if (st->codec->codec_id == AV_CODEC_ID_AAC) {
+            if (st->codec->codec_id == AV_CODEC_ID_AAC && 0) {
                 MPEG4AudioConfig cfg;
                 if (avpriv_mpeg4audio_get_config(&cfg, st->codec->extradata,
                                              st->codec->extradata_size * 8, 1) >= 0) {