aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/tls.h
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-05-27 12:57:51 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-27 22:24:00 +0200
commita9f1d584e53fb39d983201585cb136986a85cac8 (patch)
tree894d369cab04efe2e40db0fc67f98d08699aaf93 /libavformat/tls.h
parentfbf9583f9f88b24e0cb7c35b253193ae8f35e93d (diff)
downloadffmpeg-a9f1d584e53fb39d983201585cb136986a85cac8.tar.gz
lavf: move TLS-related ifdeffery to library specific files
There is no need to have this mess in network.c. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/tls.h')
-rw-r--r--libavformat/tls.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/tls.h b/libavformat/tls.h
index 445b1b5cef..558676fc8c 100644
--- a/libavformat/tls.h
+++ b/libavformat/tls.h
@@ -52,4 +52,10 @@ typedef struct TLSShared {
int ff_tls_open_underlying(TLSShared *c, URLContext *parent, const char *uri, AVDictionary **options);
+void ff_gnutls_init(void);
+void ff_gnutls_deinit(void);
+
+int ff_openssl_init(void);
+void ff_openssl_deinit(void);
+
#endif /* AVFORMAT_TLS_H */