1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 01:22:30 +00:00
mpv/mpvcore/timeline
wm4 f50b105d06 tl_matroska: fix use-after-free with --cache
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).
2013-10-19 22:58:02 +02:00
..
tl_cue.c core: add a playlist demuxer 2013-08-26 10:09:45 +02:00
tl_edl.c core: remove a minor memory leak 2013-09-08 05:17:05 +02:00
tl_matroska.c tl_matroska: fix use-after-free with --cache 2013-10-19 22:58:02 +02:00