diff vp6.c @ 5626:09fb7275a6bf libavcodec

add a warning message for unsupported kind of encoding
author aurel
date Sat, 01 Sep 2007 13:04:25 +0000
parents 470601203f44
children 8f52599c4c6c
line wrap: on
line diff
--- a/vp6.c	Fri Aug 31 18:51:22 2007 +0000
+++ b/vp6.c	Sat Sep 01 13:04:25 2007 +0000
@@ -126,7 +126,9 @@
             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,