[FFmpeg-cvslog] avformar/tls_openssl: use correct info callback in DTLS mode

Timo Rothenpieler git at videolan.org
Wed Jul 16 20:07:22 EEST 2025


ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> | Sun Jul 13 16:35:47 2025 +0200| [31abcc1505a8c9d12c15e55ea551947717f621af] | committer: Timo Rothenpieler

avformar/tls_openssl: use correct info callback in DTLS mode

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=31abcc1505a8c9d12c15e55ea551947717f621af
---

 libavformat/tls_openssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



More information about the ffmpeg-cvslog mailing list