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/xwddec.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libavcodec/xwddec.c') diff --git a/libavcodec/xwddec.c b/libavcodec/xwddec.c index 23f9c01d60..aa91b3b4d3 100644 --- a/libavcodec/xwddec.c +++ b/libavcodec/xwddec.c @@ -92,7 +92,7 @@ static int xwd_decode_frame(AVCodecContext *avctx, void *data, } if (xoffset) { - av_log_ask_for_sample(avctx, "unsupported xoffset %d\n", xoffset); + avpriv_request_sample(avctx, "xoffset %d", xoffset); return AVERROR_PATCHWELCOME; } @@ -192,7 +192,9 @@ static int xwd_decode_frame(AVCodecContext *avctx, void *data, } if (avctx->pix_fmt == AV_PIX_FMT_NONE) { - av_log_ask_for_sample(avctx, "unknown file: bpp %d, pixdepth %d, vclass %d\n", bpp, pixdepth, vclass); + avpriv_request_sample(avctx, + "Unknown file: bpp %d, pixdepth %d, vclass %d", + bpp, pixdepth, vclass); return AVERROR_PATCHWELCOME; } -- cgit v1.2.3