changeset 5626:09fb7275a6bf libavcodec

add a warning message for unsupported kind of encoding
author aurel
date Sat, 01 Sep 2007 13:04:25 +0000
parents 5e6d779aede4
children a920d9b58f19
files vp6.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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,