summaryrefslogtreecommitdiff
path: root/libavformat/tls_gnutls.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-05-23 10:15:28 +0200
committerDiego Biurrun <diego@biurrun.de>2017-06-02 10:41:52 +0200
commit61cec5adaacb358783c18aa07362f15824c1b274 (patch)
tree974bfc9f4461436d5e9f3584051b8d9e6327b11f /libavformat/tls_gnutls.c
parent5edded9df31bc4712a023f89941b4c278f1bd6f5 (diff)
downloadffmpeg-61cec5adaacb358783c18aa07362f15824c1b274.tar.gz
tls: Hide backend implementation details from users
TLS is currently implemented over either OpenSSL or GnuTLS, with more backends likely to appear in the future. Currently, those backend libraries are part of the protocol names used during e.g. the configure stage of a build. Hide those details behind a generically-named declaration for the TLS protocol to avoid leaking those details into the configuration stage.
Diffstat (limited to 'libavformat/tls_gnutls.c')
-rw-r--r--libavformat/tls_gnutls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tls_gnutls.c b/libavformat/tls_gnutls.c
index f8a612ad9b..1ae7656dcb 100644
--- a/libavformat/tls_gnutls.c
+++ b/libavformat/tls_gnutls.c
@@ -233,7 +233,7 @@ static const AVClass tls_class = {
.version = LIBAVUTIL_VERSION_INT,
};
-const URLProtocol ff_tls_gnutls_protocol = {
+const URLProtocol ff_tls_protocol = {
.name = "tls",
.url_open2 = tls_open,
.url_read = tls_read,