summaryrefslogtreecommitdiff
path: root/libavcodec/wnv1.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-04-22 19:41:59 +0200
committerDiego Biurrun <diego@biurrun.de>2011-04-22 20:12:39 +0200
commitd9dee728b8c50fb6dbff3701e1abcb2eac5895b3 (patch)
treed8edd5dc0de891aa2f920397f86a044105a8f245 /libavcodec/wnv1.c
parent44f566b79afcbbb152ec21db667ea3d2f42e8f8d (diff)
Use av_log_ask_for_sample() to request samples from users.
Diffstat (limited to 'libavcodec/wnv1.c')
-rw-r--r--libavcodec/wnv1.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/wnv1.c b/libavcodec/wnv1.c
index 7c0a537082..65ad9cdd12 100644
--- a/libavcodec/wnv1.c
+++ b/libavcodec/wnv1.c
@@ -96,11 +96,13 @@ static int decode_frame(AVCodecContext *avctx,
else {
l->shift = 8 - (buf[2] >> 4);
if (l->shift > 4) {
- av_log(avctx, AV_LOG_ERROR, "Unknown WNV1 frame header value %i, please upload file for study\n", buf[2] >> 4);
+ av_log_ask_for_sample(avctx, "Unknown WNV1 frame header value %i\n",
+ buf[2] >> 4);
l->shift = 4;
}
if (l->shift < 1) {
- av_log(avctx, AV_LOG_ERROR, "Unknown WNV1 frame header value %i, please upload file for study\n", buf[2] >> 4);
+ av_log_ask_for_sample(avctx, "Unknown WNV1 frame header value %i\n",
+ buf[2] >> 4);
l->shift = 1;
}
}