tls_mbedtls: Use non-deprecated header file
authorDiego Biurrun <diego@biurrun.de>
Wed, 25 Apr 2018 10:51:14 +0000 (10:51 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 26 Apr 2018 09:27:08 +0000 (11:27 +0200)
/usr/include/mbedtls/net.h:29:2: warning: #warning "Deprecated header file: Superseded by mbedtls/net_sockets.h" [-Wcpp]

libavformat/tls_mbedtls.c

index 5e01af8..6eba090 100644 (file)
@@ -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>