Skip to content

Commit 9c120de

Browse files
sfan5jeeb
authored andcommitted
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.
1 parent d0c5309 commit 9c120de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stream/stream_mf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ const stream_info_t stream_info_mf = {
3939
.name = "mf",
4040
.open = mf_stream_open,
4141
.protocols = (const char*const[]){ "mf", NULL },
42+
.stream_origin = STREAM_ORIGIN_FS,
4243
};

0 commit comments

Comments
 (0)