diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-10-27 21:04:20 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-10-28 09:28:19 +0100 |
commit | 2ba68dd044ca8fc591139c05563840f546a9c0c0 (patch) | |
tree | b87695003b86a9243c841f60540e38449c6ef55c /libavformat/seek.c | |
parent | f2521563d1a0c3e2a21892f59f3327b82b3db7fc (diff) | |
download | ffmpeg-2ba68dd044ca8fc591139c05563840f546a9c0c0.tar.gz |
lavf: remove unreliable timestamp guessing heuristic
Diffstat (limited to 'libavformat/seek.c')
-rw-r--r-- | libavformat/seek.c | 3 |
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; } |