summaryrefslogtreecommitdiff
path: root/libavformat/allformats.c
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-05-26 19:25:41 +0200
committerMartin Storsjö <martin@martin.st>2015-05-26 21:48:32 +0300
commitd8ffb2055f0e0fcb5d025bab72eb19c2a886c125 (patch)
tree9769a4538d60f880e6d55af599e18da77904a534 /libavformat/allformats.c
parentcf1f3d837e1266034a487de5b575bd76426c6b10 (diff)
lavf: split tls.c
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ö <martin@martin.st>
Diffstat (limited to 'libavformat/allformats.c')
-rw-r--r--libavformat/allformats.c3
1 files changed, 2 insertions, 1 deletions
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);