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/xwddec.c | |
parent | 1ae07959ab39a96eee6496b418f377f9085ce4a5 (diff) | |
download | ffmpeg-6d97484d72e33f7dde9493a9ead1a72e2f029605.tar.gz |
avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()
Diffstat (limited to 'libavcodec/xwddec.c')
-rw-r--r-- | libavcodec/xwddec.c | 6 |
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; } |