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:
authorAnton Khirnov <anton@khirnov.net>2013-10-28 00:04:20 +0400
committerAnton Khirnov <anton@khirnov.net>2013-10-28 12:28:19 +0400
commit2ba68dd044ca8fc591139c05563840f546a9c0c0 (patch)
treeb87695003b86a9243c841f60540e38449c6ef55c /libavformat/seek.c
parentf2521563d1a0c3e2a21892f59f3327b82b3db7fc (diff)
lavf: remove unreliable timestamp guessing heuristic
Diffstat (limited to 'libavformat/seek.c')
-rw-r--r--libavformat/seek.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/seek.c b/libavformat/seek.c
index 524cd87e6a..e17cdccfd6 100644
--- a/libavformat/seek.c
+++ b/libavformat/seek.c
@@ -428,13 +428,11 @@ AVParserState *ff_store_parser_state(AVFormatContext *s)
ss->parser = st->parser;
ss->last_IP_pts = st->last_IP_pts;
ss->cur_dts = st->cur_dts;
- ss->reference_dts = st->reference_dts;
ss->probe_packets = st->probe_packets;
st->parser = NULL;
st->last_IP_pts = AV_NOPTS_VALUE;
st->cur_dts = AV_NOPTS_VALUE;
- st->reference_dts = AV_NOPTS_VALUE;
st->probe_packets = MAX_PROBE_PACKETS;
}
@@ -467,7 +465,6 @@ void ff_restore_parser_state(AVFormatContext *s, AVParserState *state)
st->parser = ss->parser;
st->last_IP_pts = ss->last_IP_pts;
st->cur_dts = ss->cur_dts;
- st->reference_dts = ss->reference_dts;
st->probe_packets = ss->probe_packets;
}