Some applications really mean to send negative pts.
---
libavformat/flvdec.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index cdb7c36..3772cd9 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -901,8 +901,6 @@ skip:
av_log(s, AV_LOG_WARNING,
"Negative cts, previous timestamps might be wrong.\n");
}
- if (flv->wrong_dts)
- dts = AV_NOPTS_VALUE;
}
if (type == 0) {
if (st->codec->extradata) {
--
1.8.5.2 (Apple Git-48)
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel