diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-09-27 15:55:11 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-27 15:59:19 +0200 |
commit | df21537dfbb80651d81e5add6dece7da5cdb798d (patch) | |
tree | f01afc9b2837b59e62e990910cc66e71f8eadd72 /libavformat/tls.c | |
parent | 191ee4aefbde03a9f751321170c01c736f8bb084 (diff) | |
download | ffmpeg-df21537dfbb80651d81e5add6dece7da5cdb798d.tar.gz |
avformat/tls: fix {} error for the GNUTLS case
Found-by:" Geek.Song" <ffmpeg@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/tls.c')
-rw-r--r-- | libavformat/tls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tls.c b/libavformat/tls.c index 3da9cfac20..5da82db796 100644 --- a/libavformat/tls.c +++ b/libavformat/tls.c @@ -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) |