You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
flv: Do not mangle dts values for negative cts
Some applications really mean to send negative pts.
This commit is contained in:
@@ -901,8 +901,6 @@ skip:
|
|||||||
av_log(s, AV_LOG_WARNING,
|
av_log(s, AV_LOG_WARNING,
|
||||||
"Negative cts, previous timestamps might be wrong.\n");
|
"Negative cts, previous timestamps might be wrong.\n");
|
||||||
}
|
}
|
||||||
if (flv->wrong_dts)
|
|
||||||
dts = AV_NOPTS_VALUE;
|
|
||||||
}
|
}
|
||||||
if (type == 0) {
|
if (type == 0) {
|
||||||
if (st->codec->extradata) {
|
if (st->codec->extradata) {
|
||||||
|
Reference in New Issue
Block a user