[FFmpeg-devel] [PATCH 07/18] avformat/tls: don't use http_proxy for udp sockets
Steven Liu
lingjiujianke at gmail.com
Thu Jul 3 17:04:04 EEST 2025
Timo Rothenpieler <timo at rothenpieler.org> 于2025年7月3日周四 01:09写道:
>
> ---
> 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
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
LGTM
Thanks
Steven
More information about the ffmpeg-devel
mailing list