diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2025-06-26 01:24:04 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2025-07-03 22:18:10 +0200 |
commit | 492aef2d94e16685e13466a653019dc8ca3293a9 (patch) | |
tree | 7d97ffa75e1b4bd9090d833d1fb5b9c772548693 /libavformat/tls.c | |
parent | 311742eb5a043f54b8e33c42bb9309f5e02c3c2c (diff) | |
download | ffmpeg-492aef2d94e16685e13466a653019dc8ca3293a9.tar.gz |
avformat/tls: don't use http_proxy for udp sockets
Diffstat (limited to 'libavformat/tls.c')
-rw-r--r-- | libavformat/tls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tls.c b/libavformat/tls.c index 018b24cd48..5ec4cca58a 100644 --- a/libavformat/tls.c +++ b/libavformat/tls.c @@ -114,7 +114,7 @@ int ff_tls_open_underlying(TLSShared *c, URLContext *parent, const char *uri, AV proxy_path && av_strstart(proxy_path, "http://", NULL); freeenv_utf8(env_no_proxy); - if (use_proxy) { + if (!c->is_dtls && use_proxy) { char proxy_host[200], proxy_auth[200], dest[200]; int proxy_port; av_url_split(NULL, 0, proxy_auth, sizeof(proxy_auth), |