diff options
author | sfan5 <sfan5@live.de> | 2021-04-05 22:28:50 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2021-04-08 23:47:35 +0300 |
commit | 9c120dedb3ca9524421d41e940a83fc973e6942a (patch) | |
tree | 1e568fdaaefb4b003d675c306abe0fb3771918d4 /stream | |
parent | d0c530919d8cd4d7a774e38ab064e0fabdae34e6 (diff) | |
download | mpv-9c120dedb3ca9524421d41e940a83fc973e6942a.tar.bz2 mpv-9c120dedb3ca9524421d41e940a83fc973e6942a.tar.xz |
stream_mf: set correct stream origin
mf:// reads files from the local filesystem and should be
subject to the usual security checks mpv has for such protocols.
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream_mf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream_mf.c b/stream/stream_mf.c index 69a6dce58d..4c871c4334 100644 --- a/stream/stream_mf.c +++ b/stream/stream_mf.c @@ -39,4 +39,5 @@ const stream_info_t stream_info_mf = { .name = "mf", .open = mf_stream_open, .protocols = (const char*const[]){ "mf", NULL }, + .stream_origin = STREAM_ORIGIN_FS, }; |