Revision 10a7571b libavformat/utils.c

View differences:

libavformat/utils.c
595 595
    int num, den, presentation_delayed, delay, i;
596 596
    int64_t offset;
597 597

  
598
    if(pkt->pts != AV_NOPTS_VALUE && pkt->dts != AV_NOPTS_VALUE && pkt->dts > pkt->pts && st->pts_wrap_bits<63
599
       /*&& pkt->dts-(1LL<<st->pts_wrap_bits) < pkt->pts*/){
600
        pkt->dts -= 1LL<<st->pts_wrap_bits;
601
    }
602

  
598 603
    if (pkt->duration == 0) {
599 604
        compute_frame_duration(&num, &den, st, pc, pkt);
600 605
        if (den && num) {

Also available in: Unified diff