Revision 8ed2ae09 libavcodec/svq1dec.c

View differences:

libavcodec/svq1dec.c
684 684
  //this should be removed after libavcodec can handle more flexible picture types & ordering
685 685
  if(s->pict_type==FF_B_TYPE && s->last_picture_ptr==NULL) return buf_size;
686 686

  
687
#if FF_API_HURRY_UP
687 688
  if(avctx->hurry_up && s->pict_type==FF_B_TYPE) return buf_size;
689
#endif
688 690
  if(  (avctx->skip_frame >= AVDISCARD_NONREF && s->pict_type==FF_B_TYPE)
689 691
     ||(avctx->skip_frame >= AVDISCARD_NONKEY && s->pict_type!=FF_I_TYPE)
690 692
     || avctx->skip_frame >= AVDISCARD_ALL)

Also available in: Unified diff