[FFmpeg-cvslog] avformat/tls: fix {} error for the GNUTLS case

Michael Niedermayer git at videolan.org
Fri Sep 27 15:59:44 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Sep 27 15:55:11 2013 +0200| [df21537dfbb80651d81e5add6dece7da5cdb798d] | committer: Michael Niedermayer

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

Found-by:" Geek.Song" <ffmpeg at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=df21537dfbb80651d81e5add6dece7da5cdb798d
---

 libavformat/tls.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/tls.c b/libavformat/tls.c
index 3da9cfa..5da82db7 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)



More information about the ffmpeg-cvslog mailing list