[SCM] libav/experimental: add a warning message for unsupported kind of encoding

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:06:15 UTC 2013


The following commit has been merged in the experimental branch:
commit c0fee8c985b3fd6058cdc86c660638f98efda8c7
Author: Aurelien Jacobs <aurel at gnuage.org>
Date:   Sat Sep 1 13:04:25 2007 +0000

    add a warning message for unsupported kind of encoding
    
    Originally committed as revision 10277 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/vp6.c b/libavcodec/vp6.c
index cfa7589..9b6a61f 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,

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list