diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2025-07-13 16:35:47 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2025-07-16 18:46:55 +0200 |
commit | 31abcc1505a8c9d12c15e55ea551947717f621af (patch) | |
tree | 28758168be2b95d1fd8937008b43e50478ac934c | |
parent | 5edbfc4bae4636af20623f426db38049ece3d332 (diff) | |
download | ffmpeg-31abcc1505a8c9d12c15e55ea551947717f621af.tar.gz |
avformar/tls_openssl: use correct info callback in DTLS mode
-rw-r--r-- | libavformat/tls_openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tls_openssl.c b/libavformat/tls_openssl.c index a497d4dfd8..63fc085e28 100644 --- a/libavformat/tls_openssl.c +++ b/libavformat/tls_openssl.c @@ -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 |