# HG changeset patch # User kostya # Date 1157862293 0 # Node ID 653fc28f78b46fa9e41eb24ebb960114bc6a5d5b # Parent 596e62da8f290a83ab412f93c422c48bcb86eddb Disable B-frames decoding until they produce correct picture diff -r 596e62da8f29 -r 653fc28f78b4 vc1.c --- a/vc1.c Sat Sep 09 22:53:44 2006 +0000 +++ b/vc1.c Sun Sep 10 04:24:53 2006 +0000 @@ -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;