summaryrefslogtreecommitdiff
path: root/libavcodec/vc1.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2006-09-21 04:46:11 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2006-09-21 04:46:11 +0000
commita1ef006823de991c546a89b3e9135617a3524582 (patch)
tree9c062bdf597bc27c34218dce0231299b2e622908 /libavcodec/vc1.c
parent6b33eed83f8b4c179abc3b6e7d427d07c6ff827a (diff)
Finally enable B-frame decoding as all known samples work perfect
Originally committed as revision 6309 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vc1.c')
-rw-r--r--libavcodec/vc1.c6
1 files changed, 0 insertions, 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;