diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index c19c2d663a..67a5e43584 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -944,8 +944,6 @@ retry_duration: "invalid timestamps %"PRId64" %"PRId64"\n", dts, pts); dts = pts = AV_NOPTS_VALUE; } - if (flv->wrong_dts) - dts = AV_NOPTS_VALUE; } if (type == 0 && (!st->codec->extradata || st->codec->codec_id == AV_CODEC_ID_AAC)) { AVDictionaryEntry *t;