From a1ef006823de991c546a89b3e9135617a3524582 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Thu, 21 Sep 2006 04:46:11 +0000 Subject: [PATCH] Finally enable B-frame decoding as all known samples work perfect Originally committed as revision 6309 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vc1.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c index 7c563677b1..21a98902f1 100644 --- a/libavcodec/vc1.c +++ b/libavcodec/vc1.c @@ -4201,12 +4201,6 @@ static int vc1_decode_frame(AVCodecContext *avctx, 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;