Browse Source

flv: Do not mangle dts values for negative cts

Some applications really mean to send negative pts.
tags/n2.3
Luca Barbato 11 years ago
parent
commit
152b797cd6
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavformat/flvdec.c

+ 0
- 2
libavformat/flvdec.c View File

@@ -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) {


Loading…
Cancel
Save