Commit df21537d authored by Michael Niedermayer's avatar Michael Niedermayer

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

Found-by: 's avatar" Geek.Song" <ffmpeg@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 191ee4ae
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment