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

kostya subversion
Sun Sep 10 06:24:53 CEST 2006


Author: kostya
Date: Sun Sep 10 06:24:53 2006
New Revision: 6218

Modified:
   trunk/libavcodec/vc1.c

Log:
Disable B-frames decoding until they produce correct picture

Modified: trunk/libavcodec/vc1.c
==============================================================================
--- trunk/libavcodec/vc1.c	(original)
+++ trunk/libavcodec/vc1.c	Sun Sep 10 06:24:53 2006
@@ -4180,6 +4180,12 @@
         return -1;
     }
 
+    /* skip B frames as they are not decoded correctly */
+    if(s->pict_type == B_TYPE){
+        av_free(buf2);
+        return buf_size;
+    }
+
     // for hurry_up==5
     s->current_picture.pict_type= s->pict_type;
     s->current_picture.key_frame= s->pict_type == I_TYPE;




More information about the ffmpeg-cvslog mailing list