Revision 755bfeab libavformat/utils.c

View differences:

libavformat/utils.c
293 293
}
294 294

  
295 295
#define OFFSET(x) offsetof(AVFormatContext,x)
296
#define DEFAULT 0 //should be NAN but it doesnt work as its not a constant in glibc as required by ANSI/ISO C
296
#define DEFAULT 0 //should be NAN but it does not work as it is not a constant in glibc as required by ANSI/ISO C
297 297
//these names are too long to be readable
298 298
#define E AV_OPT_FLAG_ENCODING_PARAM
299 299
#define D AV_OPT_FLAG_DECODING_PARAM
......
632 632
    if (delay &&
633 633
        pc && pc->pict_type != FF_B_TYPE)
634 634
        presentation_delayed = 1;
635
    /* this may be redundant, but it shouldnt hurt */
635
    /* This may be redundant, but it should not hurt. */
636 636
    if(pkt->dts != AV_NOPTS_VALUE && pkt->pts != AV_NOPTS_VALUE && pkt->pts > pkt->dts)
637 637
        presentation_delayed = 1;
638 638

  
......
992 992
                return -1;
993 993
            memmove(entries + index + 1, entries + index, sizeof(AVIndexEntry)*(st->nb_index_entries - index));
994 994
            st->nb_index_entries++;
995
        }else if(ie->pos == pos && distance < ie->min_distance) //dont reduce the distance
995
        }else if(ie->pos == pos && distance < ie->min_distance) //do not reduce the distance
996 996
            distance= ie->min_distance;
997 997
    }
998 998

  

Also available in: Unified diff