mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 01:22:30 +00:00
f50b105d06
If cache was enabled, using ordered chapters could easily crash. The reason is that enable_cache() reopens the demuxer and closes the old one. The code after that (reading m->ordered_chapters etc.) then accessed freed data. This commit also avoids enabling cache for files which are not used (which would make opening much slower). |
||
---|---|---|
.. | ||
tl_cue.c | ||
tl_edl.c | ||
tl_matroska.c |