summaryrefslogtreecommitdiff
path: root/libavformat/seek.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-10-27 21:04:20 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-10-29 20:10:41 +0100
commit4eb49fdde8f84d54a763cfb5d355527b525ee2bf (patch)
treecb472642861bddd0ce073e31a154bb2fb83701c8 /libavformat/seek.c
parente166b82dd483754adad89bb0e5c684cb61e4c281 (diff)
lavf: remove unreliable timestamp guessing heuristic
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 0ae99eb211..07c3f79522 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;
}