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/pictordec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/pictordec.c') diff --git a/libavcodec/pictordec.c b/libavcodec/pictordec.c index 322d3d4ad2..9c884ff645 100644 --- a/libavcodec/pictordec.c +++ b/libavcodec/pictordec.c @@ -123,7 +123,7 @@ static int decode_frame(AVCodecContext *avctx, s->nb_planes = (tmp >> 4) + 1; bpp = bits_per_plane * s->nb_planes; if (bits_per_plane > 8 || bpp < 1 || bpp > 32) { - av_log_ask_for_sample(s, "unsupported bit depth\n"); + avpriv_request_sample(s, "Unsupported bit depth"); return AVERROR_PATCHWELCOME; } @@ -233,7 +233,7 @@ static int decode_frame(AVCodecContext *avctx, } } } else { - av_log_ask_for_sample(s, "uncompressed image\n"); + avpriv_request_sample(s, "Uncompressed image"); return avpkt->size; } -- cgit v1.2.3