[FFmpeg-cvslog] tls_mbedtls: Use non-deprecated header file

Diego Biurrun git at videolan.org
Mon Sep 3 01:17:26 EEST 2018


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Apr 25 10:51:14 2018 +0000| [e368b0cbfa3fdc627c331e34556f8e39296d04d5] | committer: Diego Biurrun

tls_mbedtls: Use non-deprecated header file

/usr/include/mbedtls/net.h:29:2: warning: #warning "Deprecated header file: Superseded by mbedtls/net_sockets.h" [-Wcpp]

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

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

diff --git a/libavformat/tls_mbedtls.c b/libavformat/tls_mbedtls.c
index 5e01af8162..6eba090402 100644
--- a/libavformat/tls_mbedtls.c
+++ b/libavformat/tls_mbedtls.c
@@ -23,7 +23,7 @@
 #include <mbedtls/config.h>
 #include <mbedtls/ctr_drbg.h>
 #include <mbedtls/entropy.h>
-#include <mbedtls/net.h>
+#include <mbedtls/net_sockets.h>
 #include <mbedtls/platform.h>
 #include <mbedtls/ssl.h>
 #include <mbedtls/x509_crt.h>



More information about the ffmpeg-cvslog mailing list