Browse Source

tls: fix compilation when both gnutls and openssl are enabled

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n2.7
James Almer Martin Storsjö 10 years ago
parent
commit
29216d7fd1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/tls.c

+ 1
- 1
libavformat/tls.c View File

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




Loading…
Cancel
Save