mirror of https://github.com/mpv-player/mpv
demux: remove redundant seek range update
This was a leftover from commitb2752321
which fixed #6522 but after the recent demux refactoring this fix is superseded by commit0f6cda4ab
. Remove the redundant update call.
This commit is contained in:
parent
422b486200
commit
d2a9e3fb34
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue