projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d120e40
)
Disable B-frames decoding until they produce correct picture
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Sun, 10 Sep 2006 04:24:53 +0000
(
04:24
+0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Sun, 10 Sep 2006 04:24:53 +0000
(
04:24
+0000)
Originally committed as revision 6218 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/vc1.c
patch
|
blob
|
blame
|
history
diff --git
a/libavcodec/vc1.c
b/libavcodec/vc1.c
index
a485384
..
f5b9a40
100644
(file)
--- a/
libavcodec/vc1.c
+++ b/
libavcodec/vc1.c
@@
-4180,6
+4180,12
@@
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;