mpv/demux
wm4 9349cfca91 demux_mkv_timeline: fix potential issue when enabling cache
If the cache is enabled, the demuxer is closed and opened again (because
currently, the cache can not be enabled atfer data was already read).
The call for opening a new demuxer uses the same params struct, which
references the ctx->uids array. But there is a MP_TARRAY_GROW()
invocation somewhere on the way, which can reallocate the ctx->uids
array, making params.uids a dangling pointer.

This issue probably existed for a longer time, probably since 5cd33853
(slightly more obvious since f50b105d).
2015-02-25 13:31:37 +01:00
..
codec_tags.c demux_mkv: support embedded coverart 2014-12-22 12:53:51 +01:00
codec_tags.h demux_mkv: support embedded coverart 2014-12-22 12:53:51 +01:00
demux.c demux: add a demux_open_url() function 2015-02-20 21:56:55 +01:00
demux.h demux: add a demux_open_url() function 2015-02-20 21:56:55 +01:00
demux_cue.c demux: timeline: honor quit requests 2015-02-20 22:08:02 +01:00
demux_disc.c demux: change demux_open() signature 2015-02-20 21:21:14 +01:00
demux_edl.c demux: timeline: honor quit requests 2015-02-20 22:08:02 +01:00
demux_lavf.c demux_lavf: apply hacks even if format is forced 2015-02-20 14:29:56 +01:00
demux_libass.c player: enable cache and demuxer thread for subtitles too 2015-02-18 21:12:57 +01:00
demux_mf.c demux_mf: move mf.c contents to demux_mf.c 2014-12-29 23:09:50 +01:00
demux_mkv.c demux_mkv: minor refactor for deferred cue reading 2015-02-25 13:26:03 +01:00
demux_mkv_timeline.c demux_mkv_timeline: fix potential issue when enabling cache 2015-02-25 13:31:37 +01:00
demux_playlist.c player: enable cache and demuxer thread for subtitles too 2015-02-18 21:12:57 +01:00
demux_raw.c demux_raw: output smaller audio packets 2015-02-04 10:42:23 +01:00
demux_subreader.c player: enable cache and demuxer thread for subtitles too 2015-02-18 21:12:57 +01:00
demux_tv.c audio: decouple demux and audio decoder/filter sample formats 2014-09-24 22:55:50 +02:00
ebml.c demux_mkv: fix EBML parsing checks 2015-01-12 14:31:31 +01:00
ebml.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
matroska.h matroska: make timeline code independent of MPContext 2015-02-17 23:46:50 +01:00
packet.c demux_mkv: refactor packet parsing 2015-02-05 21:52:07 +01:00
packet.h demux_mkv: refactor packet parsing 2015-02-05 21:52:07 +01:00
stheader.h video: remove redundant codec parameters 2015-02-24 11:56:48 +01:00
timeline.c demux: timeline: honor quit requests 2015-02-20 22:08:02 +01:00
timeline.h demux: timeline: honor quit requests 2015-02-20 22:08:02 +01:00