summaryrefslogtreecommitdiff
path: root/libavcodec/vp6.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-09-01 13:04:25 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-09-01 13:04:25 +0000
commitc0fee8c985b3fd6058cdc86c660638f98efda8c7 (patch)
tree494327d016027db783820c94f0217e01da2d29fc /libavcodec/vp6.c
parentec2fc00d628e5511abe3c80eec62b7449af5ccad (diff)
add a warning message for unsupported kind of encoding
Originally committed as revision 10277 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp6.c')
-rw-r--r--libavcodec/vp6.c4
1 files changed, 3 insertions, 1 deletions
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,