aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vc1.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2006-08-11 04:41:30 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2006-08-11 04:41:30 +0000
commit6b53e173cfd883b8571caefe2761a0360a8ec817 (patch)
treee64143ad4e868b6cc7f2442ea6497fba5f59e93c /libavcodec/vc1.c
parent876031a74e04c551f71493216180dc1a0ca00786 (diff)
downloadffmpeg-6b53e173cfd883b8571caefe2761a0360a8ec817.tar.gz
Disable B-frames decoding until I return and finish their proper decoding.
Originally committed as revision 5980 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vc1.c')
-rw-r--r--libavcodec/vc1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index 57ff96e0e3..e61c8011b7 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -3278,6 +3278,7 @@ static int vc1_decode_frame(AVCodecContext *avctx,
return -1;
if(s->pict_type != I_TYPE && !v->res_rtm_flag)return -1;
+ if(s->pict_type == B_TYPE)return -1;
// for hurry_up==5
s->current_picture.pict_type= s->pict_type;