Ticket #177: ffmpeg-0.5_utils.c.patch

File ffmpeg-0.5_utils.c.patch, 508 bytes (added by andrixnet, 15 years ago)
  • libavformat/utils.c

    old new  
    25752575        pkt->dts= st->pts_buffer[0];
    25762576    }
    25772577
    2578     if(st->cur_dts && st->cur_dts != AV_NOPTS_VALUE && st->cur_dts >= pkt->dts){
     2578    if(st->cur_dts && st->cur_dts != AV_NOPTS_VALUE && st->cur_dts > pkt->dts){
    25792579        av_log(st->codec, AV_LOG_ERROR, "error, non monotone timestamps %"PRId64" >= %"PRId64"\n", st->cur_dts, pkt->dts);
    25802580        return -1;
    25812581    }