mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-09 01:21:06 +00:00
avformat/aviobuf: add prefer_libcurl to ffurl_copy_url_options()
Otherwise this doesn't reach e.g. the inner HTTP requets made by HLS etc. Sponsored-by: nxtedition AB Signed-off-by: Niklas Haas <git@haasn.dev>
This commit is contained in:
committed by
Kacper Michajłow
parent
b737bddaf1
commit
45c4f59eb2
@@ -994,7 +994,7 @@ void ffio_write_lines(AVIOContext *s, const unsigned char *buf, int size,
|
||||
int ffio_copy_url_options(AVIOContext* pb, AVDictionary** avio_opts)
|
||||
{
|
||||
const char *opts[] = {
|
||||
"headers", "user_agent", "cookies", "http_proxy", "referer", "rw_timeout", "icy", NULL };
|
||||
"headers", "user_agent", "cookies", "http_proxy", "referer", "rw_timeout", "icy", "prefer_libcurl", NULL };
|
||||
const char **opt = opts;
|
||||
uint8_t *buf = NULL;
|
||||
int ret = 0;
|
||||
|
||||
Reference in New Issue
Block a user