[Ffmpeg-cvslog] r7693 - trunk/libavcodec/vc1.c

kostya subversion
Wed Jan 24 18:47:43 CET 2007


Author: kostya
Date: Wed Jan 24 18:47:42 2007
New Revision: 7693

Modified:
   trunk/libavcodec/vc1.c

Log:
Fail on VC-1 interlaced streams

Modified: trunk/libavcodec/vc1.c
==============================================================================
--- trunk/libavcodec/vc1.c	(original)
+++ trunk/libavcodec/vc1.c	Wed Jan 24 18:47:42 2007
@@ -1268,6 +1268,10 @@
     v->s.avctx->coded_height = (get_bits(gb, 12) + 1) << 1;
     v->broadcast = get_bits1(gb);
     v->interlace = get_bits1(gb);
+    if(v->interlace){
+        av_log(v->s.avctx, AV_LOG_ERROR, "Interlaced mode not supported (yet)\n");
+        return -1;
+    }
     v->tfcntrflag = get_bits1(gb);
     v->finterpflag = get_bits1(gb);
     get_bits1(gb); // reserved




More information about the ffmpeg-cvslog mailing list