[FFmpeg-cvslog] avformat/tls: don't use http_proxy for udp sockets
Timo Rothenpieler
git at videolan.org
Thu Jul 3 23:18:34 EEST 2025
ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> | Thu Jun 26 01:24:04 2025 +0200| [492aef2d94e16685e13466a653019dc8ca3293a9] | committer: Timo Rothenpieler
avformat/tls: don't use http_proxy for udp sockets
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=492aef2d94e16685e13466a653019dc8ca3293a9
---
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),
More information about the ffmpeg-cvslog
mailing list