Revision e5ab4fdd

View differences:

libavcodec/svq1.c
1093 1093
    return result;
1094 1094
  }
1095 1095
  
1096
  //FIXME this avoids some confusion for "B frames" without 2 references
1097
  //this should be removed after libavcodec can handle more flaxible picture types & ordering
1098
  if(s->pict_type==B_TYPE && s->last_picture.data[0]==NULL) return buf_size;
1099
  
1096 1100
  if(avctx->hurry_up && s->pict_type==B_TYPE) return buf_size;
1097 1101

  
1098 1102
  if(MPV_frame_start(s, avctx) < 0)

Also available in: Unified diff