diff options
Diffstat (limited to 'input/input.c')
-rw-r--r-- | input/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input/input.c b/input/input.c index 1bc8e303f6..f9475648b0 100644 --- a/input/input.c +++ b/input/input.c @@ -1276,7 +1276,7 @@ static int parse_config_file(struct input_ctx *ictx, char *file, bool warn) file = mp_get_user_path(tmp, ictx->global, file); - s = stream_open(file, ictx->global); + s = stream_create(file, STREAM_ORIGIN_DIRECT | STREAM_READ, NULL, ictx->global); if (!s) { MP_ERR(ictx, "Can't open input config file %s.\n", file); goto done; |