From 6d97484d72e33f7dde9493a9ead1a72e2f029605 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 13 Mar 2013 21:17:05 +0100 Subject: avcodec: av_log_ask_for_sample() ---> avpriv_request_sample() --- libavcodec/imc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libavcodec/imc.c') 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; } -- cgit v1.2.3