tls: fix compilation when both gnutls and openssl are enabled
authorJames Almer <jamrial@gmail.com>
Fri, 22 May 2015 03:32:17 +0000 (00:32 -0300)
committerMartin Storsjö <martin@martin.st>
Fri, 22 May 2015 09:21:38 +0000 (12:21 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/tls.c

index 7ce9817..00fe876 100644 (file)
@@ -213,7 +213,7 @@ static int tls_open(URLContext *h, const char *uri, int flags, AVDictionary **op
     struct addrinfo hints = { 0 }, *ai = NULL;
     const char *proxy_path;
     int use_proxy;
-#if CONFIG_OPENSSL
+#if CONFIG_OPENSSL && !CONFIG_GNUTLS
     BIO *bio;
 #endif