From 9c120dedb3ca9524421d41e940a83fc973e6942a Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 5 Apr 2021 22:28:50 +0200 Subject: 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. --- stream/stream_mf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'stream/stream_mf.c') 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, }; -- cgit v1.2.3