summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-12-23 11:01:29 +0100
committerwm4 <wm4@nowhere>2019-12-23 11:01:29 +0100
commitcd09ea92bec55ee0faf31c5a1e27d52dddf057b5 (patch)
tree16a1b28972c40f144db48c0bbdc139ab7a3554d9 /misc
parent6d93e4cb228f2d5f24d2cbeee3138be24283d0c1 (diff)
downloadmpv-cd09ea92bec55ee0faf31c5a1e27d52dddf057b5.tar.bz2
mpv-cd09ea92bec55ee0faf31c5a1e27d52dddf057b5.tar.xz
demux_mf: use stream API to open list files
mf:// has an obscure feature that lets you pass a list of filenames separated by newlines. Who knows whether anyone is using that. It opened these listfiles with fopen(), so the recent stream origin bullshit doesn't operate on it. Fix this by using the mpv internal stream API instead. Unfortunately there is no fgets(), so write an ad-hoc one. (An implementation of line reading via "stream" is still in demux_playlist, but it's better to keep it quarantined there.)
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions