mirror of https://github.com/mpv-player/mpv
2b1e9a6537
Adding base path make sense only if it is a real directory or url location. In case of protocols like memory adding base path to playlist entry in facts adds the whole playlist to that entry. For example `mpv $'memory://#EXTM3U\na/b'` produces infinite loop, expanding playlist, adding more to it. open_file adds the dirname to support relative playlist enties, however, the dirname is invalid when the name doesn't represent a path, such as with memory://..., so avoid taking the dirname with such protocols. Found by OSS-Fuzz. |
||
---|---|---|
.. | ||
cache.c | ||
cache.h | ||
codec_tags.c | ||
codec_tags.h | ||
cue.c | ||
cue.h | ||
demux.c | ||
demux.h | ||
demux_cue.c | ||
demux_disc.c | ||
demux_edl.c | ||
demux_lavf.c | ||
demux_libarchive.c | ||
demux_mf.c | ||
demux_mkv.c | ||
demux_mkv_timeline.c | ||
demux_null.c | ||
demux_playlist.c | ||
demux_raw.c | ||
demux_timeline.c | ||
ebml.c | ||
ebml.h | ||
matroska.h | ||
packet.c | ||
packet.h | ||
stheader.h | ||
timeline.c | ||
timeline.h |