Revision 755bfeab libavcodec/svq3.c

View differences:

libavcodec/svq3.c
891 891
  s->current_picture.pict_type = s->pict_type;
892 892
  s->current_picture.key_frame = (s->pict_type == I_TYPE);
893 893

  
894
  /* skip b frames if we dont have reference frames */
894
  /* Skip B-frames if we do not have reference frames. */
895 895
  if (s->last_picture_ptr == NULL && s->pict_type == B_TYPE) return 0;
896
  /* skip b frames if we are in a hurry */
896
  /* Skip B-frames if we are in a hurry. */
897 897
  if (avctx->hurry_up && s->pict_type == B_TYPE) return 0;
898
  /* skip everything if we are in a hurry >= 5 */
898
  /* Skip everything if we are in a hurry >= 5. */
899 899
  if (avctx->hurry_up >= 5) return 0;
900 900
  if(  (avctx->skip_frame >= AVDISCARD_NONREF && s->pict_type==B_TYPE)
901 901
     ||(avctx->skip_frame >= AVDISCARD_NONKEY && s->pict_type!=I_TYPE)
......
993 993

  
994 994
  avctx->frame_number = s->picture_number - 1;
995 995

  
996
  /* dont output the last pic after seeking */
996
  /* Do not output the last pic after seeking. */
997 997
  if (s->last_picture_ptr || s->low_delay) {
998 998
    *data_size = sizeof(AVFrame);
999 999
  }

Also available in: Unified diff