From c0fee8c985b3fd6058cdc86c660638f98efda8c7 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Sat, 1 Sep 2007 13:04:25 +0000 Subject: [PATCH] add a warning message for unsupported kind of encoding Originally committed as revision 10277 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vp6.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/vp6.c b/libavcodec/vp6.c index cfa7589d35..9b6a61f7fe 100644 --- a/libavcodec/vp6.c +++ b/libavcodec/vp6.c @@ -126,7 +126,9 @@ static int vp6_parse_header(vp56_context_t *s, uint8_t *buf, int buf_size, s->filter_selection = 16; } - vp56_rac_get(c); + if (vp56_rac_get(c)) + av_log(s->avctx, AV_LOG_WARNING, + "alternative entropy decoding not supported\n"); if (coeff_offset) { vp56_init_range_decoder(&s->cc, buf+coeff_offset,