diff --git a/libavformat/utils.c b/libavformat/utils.c index 613de23f1b..51cad25ab9 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -898,8 +898,6 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st, if(pkt->pts != AV_NOPTS_VALUE && delay <= MAX_REORDER_DELAY){ st->pts_buffer[0]= pkt->pts; - for(i=1; ipts_buffer[i] == AV_NOPTS_VALUE; i++) - st->pts_buffer[i]= (i-delay-1) * pkt->duration; for(i=0; ipts_buffer[i] > st->pts_buffer[i+1]; i++) FFSWAP(int64_t, st->pts_buffer[i], st->pts_buffer[i+1]); if(pkt->dts == AV_NOPTS_VALUE)