]> git.sesse.net Git - ffmpeg/commitdiff
Disable B-frames decoding until I return and finish their proper decoding.
authorKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 11 Aug 2006 04:41:30 +0000 (04:41 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 11 Aug 2006 04:41:30 +0000 (04:41 +0000)
Originally committed as revision 5980 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vc1.c

index 57ff96e0e37a8070abf1146176631b304e67441e..e61c8011b77ea72e498d6ec256e5ed00f136f416 100644 (file)
@@ -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;