From d8ffb2055f0e0fcb5d025bab72eb19c2a886c125 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 26 May 2015 19:25:41 +0200 Subject: lavf: split tls.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move the OpenSSL and GnuTLS implementations to their own files. Other than the connection code (including options) and some boilerplate, no code is actually shared. Signed-off-by: Martin Storsjö --- libavformat/allformats.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavformat/allformats.c') diff --git a/libavformat/allformats.c b/libavformat/allformats.c index f4be81a458..ff296cb8ae 100644 --- a/libavformat/allformats.c +++ b/libavformat/allformats.c @@ -291,7 +291,8 @@ void av_register_all(void) REGISTER_PROTOCOL(SCTP, sctp); REGISTER_PROTOCOL(SRTP, srtp); REGISTER_PROTOCOL(TCP, tcp); - REGISTER_PROTOCOL(TLS, tls); + REGISTER_PROTOCOL(TLS_GNUTLS, tls_gnutls); + REGISTER_PROTOCOL(TLS_OPENSSL, tls_openssl); REGISTER_PROTOCOL(UDP, udp); REGISTER_PROTOCOL(UNIX, unix); -- cgit v1.2.3