diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-03-13 21:17:05 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-03-13 21:20:12 +0100 |
commit | 6d97484d72e33f7dde9493a9ead1a72e2f029605 (patch) | |
tree | 55dd3090fc63aaf22da92145fe8310cfe0cf9c78 /libavcodec/imc.c | |
parent | 1ae07959ab39a96eee6496b418f377f9085ce4a5 (diff) | |
download | ffmpeg-6d97484d72e33f7dde9493a9ead1a72e2f029605.tar.gz |
avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()
Diffstat (limited to 'libavcodec/imc.c')
-rw-r--r-- | libavcodec/imc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/imc.c b/libavcodec/imc.c index 06bff9bd41..2749099d22 100644 --- a/libavcodec/imc.c +++ b/libavcodec/imc.c @@ -181,7 +181,7 @@ static av_cold int imc_decode_init(AVCodecContext *avctx) avctx->channels = 1; if (avctx->channels > 2) { - av_log_ask_for_sample(avctx, "Number of channels is not supported\n"); + avpriv_request_sample(avctx, "Number of channels > 2"); return AVERROR_PATCHWELCOME; } @@ -778,8 +778,7 @@ static int imc_decode_block(AVCodecContext *avctx, IMCContext *q, int ch) stream_format_code = get_bits(&q->gb, 3); if (stream_format_code & 1) { - av_log_ask_for_sample(avctx, "Stream format %X is not supported\n", - stream_format_code); + avpriv_request_sample(avctx, "Stream format %X", stream_format_code); return AVERROR_PATCHWELCOME; } |