diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-03-15 17:13:52 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-03-15 18:10:28 +0000 |
commit | a9b424879f101b56cf75c2db889477bba188fe20 (patch) | |
tree | a9e67fe3fba92feaca7bdeb8122ebe2772f339ae /libavcodec/dcadec.c | |
parent | 3d751b1ef6619b20631b17c880aa96f2dd3a11dd (diff) | |
download | ffmpeg-a9b424879f101b56cf75c2db889477bba188fe20.tar.gz |
lavc & lavf: replace deprecated av_log* functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/dcadec.c')
-rw-r--r-- | libavcodec/dcadec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c index 724f0f8246..cf4412c5cc 100644 --- a/libavcodec/dcadec.c +++ b/libavcodec/dcadec.c @@ -739,7 +739,7 @@ static int dca_parse_frame_header(DCAContext *s) if (s->lfe == 3) { s->lfe = 0; - av_log_ask_for_sample(s->avctx, "LFE is 3\n"); + avpriv_request_sample(s->avctx, "LFE = 3"); return AVERROR_PATCHWELCOME; } @@ -1012,7 +1012,7 @@ static int dca_subframe_header(DCAContext *s, int base_channel, int block_index) /* Scale factor index */ quant7 = get_bits(&s->gb, 8); if (quant7 > 127) { - av_log_ask_for_sample(s->avctx, "LFEScaleIndex larger than 127\n"); + avpriv_request_sample(s->avctx, "LFEScaleIndex larger than 127"); return AVERROR_INVALIDDATA; } s->lfe_scale_factor = scale_factor_quant7[quant7]; @@ -2167,7 +2167,7 @@ static int dca_decode_frame(AVCodecContext *avctx, void *data, } if (s->xch_base_channel < 2) { - av_log_ask_for_sample(avctx, "XCh with fewer than 2 base channels is not supported\n"); + avpriv_request_sample(avctx, "XCh with fewer than 2 base channels"); continue; } |