1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-10-06 05:47:18 +02:00

avformat/tls_openssl: do not cleanup tls after a successful dtls_start()

Regression since 8e11e2cdb8.

Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
Marton Balint
2025-10-02 00:27:29 +02:00
parent 61b6877637
commit f1d5114103

View File

@@ -834,7 +834,7 @@ static int dtls_start(URLContext *h, const char *url, int flags, AVDictionary **
av_log(c, AV_LOG_VERBOSE, "Setup ok, MTU=%d\n", c->tls_shared.mtu);
ret = 0;
return 0;
fail:
tls_close(h);
return ret;