Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/utils.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 74eed47f15..70dbfa191c 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -833,12 +833,6 @@ int ff_read_packet(AVFormatContext *s, AVPacket *pkt)
continue;
}
- if ( (pkt->dts != AV_NOPTS_VALUE && (pkt->dts <= INT64_MIN/2 || pkt->dts >= INT64_MAX/2))
- || (pkt->pts != AV_NOPTS_VALUE && (pkt->pts <= INT64_MIN/2 || pkt->pts >= INT64_MAX/2))) {
- av_log(s, AV_LOG_WARNING, "Ignoring huge timestamps %"PRId64" %"PRId64"\n", pkt->dts, pkt->pts);
- pkt->dts = pkt->pts = AV_NOPTS_VALUE;
- }
-
st = s->streams[pkt->stream_index];
if (update_wrap_reference(s, st, pkt->stream_index, pkt) && st->pts_wrap_behavior == AV_PTS_WRAP_SUB_OFFSET) {