From 61cec5adaacb358783c18aa07362f15824c1b274 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 23 May 2017 10:15:28 +0200 Subject: 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. --- libavformat/tls_openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/tls_openssl.c') diff --git a/libavformat/tls_openssl.c b/libavformat/tls_openssl.c index 0abccf00a9..71fa96871d 100644 --- a/libavformat/tls_openssl.c +++ b/libavformat/tls_openssl.c @@ -323,7 +323,7 @@ static const AVClass tls_class = { .version = LIBAVUTIL_VERSION_INT, }; -const URLProtocol ff_tls_openssl_protocol = { +const URLProtocol ff_tls_protocol = { .name = "tls", .url_open2 = tls_open, .url_read = tls_read, -- cgit v1.2.3