[FFmpeg-devel] [PATCH 07/18] avformat/tls: don't use http_proxy for udp sockets

Timo Rothenpieler timo at rothenpieler.org
Wed Jul 2 19:56:35 EEST 2025


---
 libavformat/tls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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),
-- 
2.49.0



More information about the ffmpeg-devel mailing list