aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/allformats.c
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-05-27 12:57:50 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-27 21:48:47 +0200
commit4a006b9eb7e7d736fd00e6045b5612978ef6404b (patch)
tree1f2f4e523c4c8c89ee7d9299c297a9bd43ec7b92 /libavformat/allformats.c
parent07fc47909f6f3a8faa92c2715e07bba6d833074c (diff)
downloadandroid_external_ffmpeg-4a006b9eb7e7d736fd00e6045b5612978ef6404b.tar.gz
android_external_ffmpeg-4a006b9eb7e7d736fd00e6045b5612978ef6404b.tar.bz2
android_external_ffmpeg-4a006b9eb7e7d736fd00e6045b5612978ef6404b.zip
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: Michael Niedermayer <michaelni@gmx.at>
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 0f53d4c73c..3938bfa8fe 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -377,7 +377,8 @@ void av_register_all(void)
REGISTER_PROTOCOL(SRTP, srtp);
REGISTER_PROTOCOL(SUBFILE, subfile);
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(UDPLITE, udplite);
REGISTER_PROTOCOL(UNIX, unix);