aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/xwddec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-14 12:52:12 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-14 12:52:12 +0100
commit13795dbb642cecf46e75fb6a78c830bf862c2310 (patch)
tree1464c0fd10f716b7c75920cc5b9298ca48251ca8 /libavcodec/xwddec.c
parenta9ddb624890dd8c334617239793e63d93fbd52ee (diff)
parent6d97484d72e33f7dde9493a9ead1a72e2f029605 (diff)
downloadffmpeg-13795dbb642cecf46e75fb6a78c830bf862c2310.tar.gz
Merge commit '6d97484d72e33f7dde9493a9ead1a72e2f029605'
* commit '6d97484d72e33f7dde9493a9ead1a72e2f029605': avcodec: av_log_ask_for_sample() ---> avpriv_request_sample() rsodec: Use avpriv_report_missing_feature() where appropriate Conflicts: libavcodec/anm.c libavcodec/mlpdec.c libavcodec/pictordec.c libavcodec/sunrast.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 c47c3eb71a..66a2fe9b0c 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;
}
@@ -195,7 +195,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;
}