Browse Source

avcodec/aacdec: fix more avpriv_report_missing_feature() arguments

Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 12 years ago
parent
commit
435a730e21
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavcodec/aacdec.c

+ 3
- 3
libavcodec/aacdec.c View File

@@ -838,14 +838,14 @@ static int decode_eld_specific_config(AACContext *ac, AVCodecContext *avctx,


res_flags = get_bits(gb, 3); res_flags = get_bits(gb, 3);
if (res_flags) { if (res_flags) {
avpriv_report_missing_feature(avctx, AV_LOG_ERROR,
avpriv_report_missing_feature(avctx,
"AAC data resilience (flags %x)", "AAC data resilience (flags %x)",
res_flags); res_flags);
return AVERROR_PATCHWELCOME; return AVERROR_PATCHWELCOME;
} }


if (get_bits1(gb)) { // ldSbrPresentFlag if (get_bits1(gb)) { // ldSbrPresentFlag
avpriv_report_missing_feature(avctx, AV_LOG_ERROR,
avpriv_report_missing_feature(avctx,
"Low Delay SBR"); "Low Delay SBR");
return AVERROR_PATCHWELCOME; return AVERROR_PATCHWELCOME;
} }
@@ -872,7 +872,7 @@ static int decode_eld_specific_config(AACContext *ac, AVCodecContext *avctx,


ep_config = get_bits(gb, 2); ep_config = get_bits(gb, 2);
if (ep_config) { if (ep_config) {
avpriv_report_missing_feature(avctx, AV_LOG_ERROR,
avpriv_report_missing_feature(avctx,
"epConfig %d", ep_config); "epConfig %d", ep_config);
return AVERROR_PATCHWELCOME; return AVERROR_PATCHWELCOME;
} }


Loading…
Cancel
Save