Mercurial > libavcodec.hg
diff vc1.c @ 3698:653fc28f78b4 libavcodec
Disable B-frames decoding until they produce correct picture
author | kostya |
---|---|
date | Sun, 10 Sep 2006 04:24:53 +0000 |
parents | 8765ee4eaa45 |
children | e7f4366d9731 |
line wrap: on
line diff
--- 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;