summaryrefslogtreecommitdiff
path: root/libavcodec/sunrast.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/sunrast.c
parent1ae07959ab39a96eee6496b418f377f9085ce4a5 (diff)
avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()
Diffstat (limited to 'libavcodec/sunrast.c')
-rw-r--r--libavcodec/sunrast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/sunrast.c b/libavcodec/sunrast.c
index 56e915d047..281913fd58 100644
--- a/libavcodec/sunrast.c
+++ b/libavcodec/sunrast.c
@@ -54,7 +54,7 @@ static int sunrast_decode_frame(AVCodecContext *avctx, void *data,
buf += 32;
if (type == RT_FORMAT_TIFF || type == RT_FORMAT_IFF || type == RT_EXPERIMENTAL) {
- av_log_ask_for_sample(avctx, "unsupported (compression) type\n");
+ avpriv_request_sample(avctx, "TIFF/IFF/EXPERIMENTAL (compression) type");
return AVERROR_PATCHWELCOME;
}
if (type > RT_FORMAT_IFF) {
@@ -66,7 +66,7 @@ static int sunrast_decode_frame(AVCodecContext *avctx, void *data,
return AVERROR_INVALIDDATA;
}
if (maptype == RMT_RAW) {
- av_log_ask_for_sample(avctx, "unsupported colormap type\n");
+ avpriv_request_sample(avctx, "Unknown colormap type");
return AVERROR_PATCHWELCOME;
}
if (maptype > RMT_RAW) {