Browse Source

avformat/tls: fix {} error for the GNUTLS case

Found-by:" Geek.Song" <ffmpeg@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 12 years ago
parent
commit
df21537dfb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/tls.c

+ 1
- 1
libavformat/tls.c View File

@@ -240,7 +240,7 @@ static int tls_open(URLContext *h, const char *uri, int flags)
ret = AVERROR(EIO);
goto fail;
}
} else if (c->cert_file || c->key_file) {
} else if (c->cert_file || c->key_file)
av_log(h, AV_LOG_ERROR, "cert and key required\n");
gnutls_credentials_set(c->session, GNUTLS_CRD_CERTIFICATE, c->cred);
gnutls_transport_set_ptr(c->session, (gnutls_transport_ptr_t)


Loading…
Cancel
Save