]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/svq1dec.c
merge read and and in add_paeth_prediction
[ffmpeg] / libavcodec / svq1dec.c
index eb7100713e05819140fc0e133490768f91d45ee0..dca1ea0c9aff061684b72067b9396b9e206d37ea 100644 (file)
@@ -684,7 +684,6 @@ static int svq1_decode_frame(AVCodecContext *avctx,
   //this should be removed after libavcodec can handle more flexible picture types & ordering
   if(s->pict_type==FF_B_TYPE && s->last_picture_ptr==NULL) return buf_size;
 
-  if(avctx->hurry_up && s->pict_type==FF_B_TYPE) return buf_size;
   if(  (avctx->skip_frame >= AVDISCARD_NONREF && s->pict_type==FF_B_TYPE)
      ||(avctx->skip_frame >= AVDISCARD_NONKEY && s->pict_type!=FF_I_TYPE)
      || avctx->skip_frame >= AVDISCARD_ALL)