summaryrefslogtreecommitdiffstats
path: root/stream/stream_lavf.c
diff options
context:
space:
mode:
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 75508ac009..bd4e629136 100644
--- a/stream/stream_lavf.c
+++ b/stream/stream_lavf.c
@@ -182,7 +182,7 @@ void mp_setup_av_network_options(AVDictionary **dict, struct mpv_global *global,
// HTTP specific options (other protocols ignore them)
if (opts->useragent)
- av_dict_set(dict, "user-agent", opts->useragent, 0);
+ av_dict_set(dict, "user_agent", opts->useragent, 0);
if (opts->cookies_enabled) {
char *file = opts->cookies_file;
if (file && file[0])