[FFmpeg-cvslog] lavf/http: Remove superfluous parenthesis.

Stephan Holljes git at videolan.org
Thu Sep 3 20:12:51 CEST 2015


ffmpeg | branch: master | Stephan Holljes <klaxa1337 at googlemail.com> | Thu Sep  3 15:56:12 2015 +0200| [280d140cb02b91d213f7016152fa7ab7b2cb0e75] | committer: Michael Niedermayer

lavf/http: Remove superfluous parenthesis.

Signed-off-by: Stephan Holljes <klaxa1337 at googlemail.com>
Reviewed-by: Ganesh Ajjanagadde <gajjanag at mit.edu>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

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

diff --git a/libavformat/http.c b/libavformat/http.c
index c148a29..20e942e 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -401,7 +401,7 @@ static int http_handshake(URLContext *c)
         av_log(c, AV_LOG_TRACE, "Lower protocol\n");
         if ((ret = ffurl_handshake(cl)) > 0)
             return 2 + ret;
-        if ((ret < 0))
+        if (ret < 0)
             return ret;
         ch->handshake_step = READ_HEADERS;
         ch->is_connected_server = 1;



More information about the ffmpeg-cvslog mailing list