summaryrefslogtreecommitdiff
path: root/libavcodec/xwddec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-03-13 21:17:05 +0100
committerDiego Biurrun <diego@biurrun.de>2013-03-13 21:20:12 +0100
commit6d97484d72e33f7dde9493a9ead1a72e2f029605 (patch)
tree55dd3090fc63aaf22da92145fe8310cfe0cf9c78 /libavcodec/xwddec.c
parent1ae07959ab39a96eee6496b418f377f9085ce4a5 (diff)
avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()
Diffstat (limited to 'libavcodec/xwddec.c')
-rw-r--r--libavcodec/xwddec.c6
1 files changed, 4 insertions, 2 deletions
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;
}