summaryrefslogtreecommitdiffstats
path: root/stream/stream_lavf.c
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2023-01-09 21:31:20 +0100
committersfan5 <sfan5@live.de>2023-01-12 22:02:07 +0100
commitd54f22f8b6af9e66c1b4f27f65e33d58a63c0fbf (patch)
tree81139663b07c992a84edced8e667340ecf21be96 /stream/stream_lavf.c
parent833bff87385090f4ecd3e312ad039d138fa5162f (diff)
downloadmpv-d54f22f8b6af9e66c1b4f27f65e33d58a63c0fbf.tar.bz2
mpv-d54f22f8b6af9e66c1b4f27f65e33d58a63c0fbf.tar.xz
stream/cookies: use stream_read_file()
No need for this redundant implementation.
Diffstat (limited to 'stream/stream_lavf.c')
-rw-r--r--stream/stream_lavf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_lavf.c b/stream/stream_lavf.c
index 9f9217401e..050bf2c52d 100644
--- a/stream/stream_lavf.c
+++ b/stream/stream_lavf.c
@@ -192,7 +192,7 @@ void mp_setup_av_network_options(AVDictionary **dict, const char *target_fmt,
char *file = opts->cookies_file;
if (file && file[0])
file = mp_get_user_path(temp, global, file);
- char *cookies = cookies_lavf(temp, log, file);
+ char *cookies = cookies_lavf(temp, global, log, file);
if (cookies && cookies[0])
av_dict_set(dict, "cookies", cookies, 0);
}