changeset 3745:78a02fd46b20 libavcodec

Finally enable B-frame decoding as all known samples work perfect
author kostya
date Thu, 21 Sep 2006 04:46:11 +0000
parents 805aee1f7cce
children 2ec498208c6a
files vc1.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/vc1.c	Thu Sep 21 04:44:35 2006 +0000
+++ b/vc1.c	Thu Sep 21 04:46:11 2006 +0000
@@ -4201,12 +4201,6 @@
         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;