1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 10:02:17 +00:00

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.
This commit is contained in:
Gunnar Marten 2019-09-24 11:02:05 +02:00 committed by wm4
parent 422b486200
commit d2a9e3fb34

View File

@ -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);
}