[FFmpeg-cvslog] r20201 - trunk/libavcodec/vc1dec.c

kostya subversion
Sun Oct 11 07:37:00 CEST 2009


Author: kostya
Date: Sun Oct 11 07:36:59 2009
New Revision: 20201

Log:
Warn when WVC1 cannot be decoded

Modified:
   trunk/libavcodec/vc1dec.c

Modified: trunk/libavcodec/vc1dec.c
==============================================================================
--- trunk/libavcodec/vc1dec.c	Sat Oct 10 23:17:52 2009	(r20200)
+++ trunk/libavcodec/vc1dec.c	Sun Oct 11 07:36:59 2009	(r20201)
@@ -3191,6 +3191,8 @@ static int vc1_decode_frame(AVCodecConte
 
             buf_size2 = vc1_unescape_buffer(buf, divider - buf, buf2);
             // TODO
+            if(!v->warn_interlaced++)
+                av_log(v->s.avctx, AV_LOG_ERROR, "Interlaced WVC1 support is not implemented\n");
             av_free(buf2);return -1;
         }else{
             buf_size2 = vc1_unescape_buffer(buf, buf_size, buf2);



More information about the ffmpeg-cvslog mailing list