diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-04-22 19:41:59 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-04-22 20:12:39 +0200 |
commit | d9dee728b8c50fb6dbff3701e1abcb2eac5895b3 (patch) | |
tree | d8edd5dc0de891aa2f920397f86a044105a8f245 /libavcodec/wnv1.c | |
parent | 44f566b79afcbbb152ec21db667ea3d2f42e8f8d (diff) | |
download | ffmpeg-d9dee728b8c50fb6dbff3701e1abcb2eac5895b3.tar.gz |
Use av_log_ask_for_sample() to request samples from users.
Diffstat (limited to 'libavcodec/wnv1.c')
-rw-r--r-- | libavcodec/wnv1.c | 6 |
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; } } |