Revision 8c3eba7c libavcodec/svq1.c

View differences:

libavcodec/svq1.c
748 748
  if(s->pict_type==B_TYPE && s->last_picture_ptr==NULL) return buf_size;
749 749
  
750 750
  if(avctx->hurry_up && s->pict_type==B_TYPE) return buf_size;
751
  if(  (avctx->skip_frame >= AVDISCARD_NONREF && s->pict_type==B_TYPE)
752
     ||(avctx->skip_frame >= AVDISCARD_NONKEY && s->pict_type!=I_TYPE)
753
     || avctx->skip_frame >= AVDISCARD_ALL)
754
      return buf_size;                            
751 755

  
752 756
  if(MPV_frame_start(s, avctx) < 0)
753 757
      return -1;

Also available in: Unified diff