--- ffmpeg-3.3.2.old/libavformat/mux.c +++ ffmpeg-3.3.2/libavformat/mux.c @@ -630,7 +630,7 @@ ((!(s->oformat->flags & AVFMT_TS_NONSTRICT) && st->codecpar->codec_type != AVMEDIA_TYPE_SUBTITLE && st->codecpar->codec_type != AVMEDIA_TYPE_DATA && - st->cur_dts >= pkt->dts) || st->cur_dts > pkt->dts)) { + st->cur_dts > pkt->dts) || st->cur_dts > pkt->dts)) { av_log(s, AV_LOG_ERROR, "Application provided invalid, non monotonically increasing dts to muxer in stream %d: %s >= %s\n", st->index, av_ts2str(st->cur_dts), av_ts2str(pkt->dts));