Commit 33fad661 authored by kostya's avatar kostya

Finally enable B-frame decoding as all known samples work perfect

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6309 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 225d439e
...@@ -4201,12 +4201,6 @@ static int vc1_decode_frame(AVCodecContext *avctx, ...@@ -4201,12 +4201,6 @@ static int vc1_decode_frame(AVCodecContext *avctx,
return -1; 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 // for hurry_up==5
s->current_picture.pict_type= s->pict_type; s->current_picture.pict_type= s->pict_type;
s->current_picture.key_frame= s->pict_type == I_TYPE; s->current_picture.key_frame= s->pict_type == I_TYPE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment