diff options
Diffstat (limited to 'stream/stream_lavf.c')
-rw-r--r-- | stream/stream_lavf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stream/stream_lavf.c b/stream/stream_lavf.c index a21b46c46d..640c719109 100644 --- a/stream/stream_lavf.c +++ b/stream/stream_lavf.c @@ -21,6 +21,7 @@ #include <libavutil/opt.h> #include "config.h" +#include "core/options.h" #include "core/mp_msg.h" #include "stream.h" #include "core/m_option.h" @@ -178,7 +179,6 @@ static int open_f(stream_t *stream, int mode, void *opts, int *file_format) filename = talloc_asprintf(temp, "mmsh://%.*s", BSTR_P(b_filename)); } -#ifdef CONFIG_NETWORKING // HTTP specific options (other protocols ignore them) if (network_useragent) av_dict_set(&dict, "user-agent", network_useragent, 0); @@ -197,7 +197,6 @@ static int open_f(stream_t *stream, int mode, void *opts, int *file_format) } if (strlen(cust_headers)) av_dict_set(&dict, "headers", cust_headers, 0); -#endif av_dict_set(&dict, "icy", "1", 0); int err = avio_open2(&avio, filename, flags, NULL, &dict); |