summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/http.c b/libavformat/http.c
index d3c0b7e659..c148a29ea7 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -399,7 +399,7 @@ static int http_handshake(URLContext *c)
switch (ch->handshake_step) {
case LOWER_PROTO:
av_log(c, AV_LOG_TRACE, "Lower protocol\n");
- if ((ret = ffurl_handshake(cl) > 0))
+ if ((ret = ffurl_handshake(cl)) > 0)
return 2 + ret;
if ((ret < 0))
return ret;