avcodec/aacdec: fix avpriv_report_missing_feature() arguments
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 23 Oct 2013 08:44:18 +0000 (10:44 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 23 Oct 2013 08:45:50 +0000 (10:45 +0200)
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/aacdec.c

index 541fa84..c76e9f4 100644 (file)
@@ -794,7 +794,7 @@ static int decode_ga_specific_config(AACContext *ac, AVCodecContext *avctx,
         case AOT_ER_AAC_LD:
             res_flags = get_bits(gb, 3);
             if (res_flags) {
-                avpriv_report_missing_feature(avctx, AV_LOG_ERROR,
+                avpriv_report_missing_feature(avctx,
                                               "AAC data resilience (flags %x)",
                                               res_flags);
                 return AVERROR_PATCHWELCOME;
@@ -810,7 +810,7 @@ static int decode_ga_specific_config(AACContext *ac, AVCodecContext *avctx,
     case AOT_ER_AAC_LD:
         ep_config = get_bits(gb, 2);
         if (ep_config) {
-            avpriv_report_missing_feature(avctx, AV_LOG_ERROR,
+            avpriv_report_missing_feature(avctx,
                                           "epConfig %d", ep_config);
             return AVERROR_PATCHWELCOME;
         }
@@ -943,7 +943,7 @@ static int decode_audio_specific_config(AACContext *ac,
             return ret;
         break;
     default:
-        avpriv_report_missing_feature(avctx, AV_LOG_ERROR,
+        avpriv_report_missing_feature(avctx,
                                       "Audio object type %s%d",
                                       m4ac->sbr == 1 ? "SBR+" : "",
                                       m4ac->object_type);