From d2a9e3fb341694fa0d202b86fe57d677d3b3b609 Mon Sep 17 00:00:00 2001 From: Gunnar Marten Date: Tue, 24 Sep 2019 11:02:05 +0200 Subject: [PATCH] demux: remove redundant seek range update This was a leftover from commit b2752321 which fixed #6522 but after the recent demux refactoring this fix is superseded by commit 0f6cda4ab. Remove the redundant update call. --- demux/demux.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/demux/demux.c b/demux/demux.c index 2b1f7d5625..d5000d5355 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -2322,8 +2322,6 @@ static void prune_old_packets(struct demux_internal *in) update_seek_ranges(range); } - update_seek_ranges(range); - if (range != in->current_range && range->seek_start == MP_NOPTS_VALUE) free_empty_cached_ranges(in); }