1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avformar/tls_openssl: use correct info callback in DTLS mode

This commit is contained in:
Timo Rothenpieler
2025-07-13 16:35:47 +02:00
parent 5edbfc4bae
commit 31abcc1505

View File

@ -810,7 +810,7 @@ static int dtls_start(URLContext *h, const char *url, int flags, AVDictionary **
/* Setup the callback for logging. */
SSL_set_ex_data(p->ssl, 0, p);
SSL_set_info_callback(p->ssl, openssl_info_callback);
SSL_CTX_set_info_callback(p->ctx, openssl_info_callback);
/**
* We have set the MTU to fragment the DTLS packet. It is important to note that the