Commit dd7b486e authored by Stephan Holljes's avatar Stephan Holljes Committed by Michael Niedermayer

lavf/http: Fix incorrectly placed parenthesis.

The assignment had incorrectly placed parentheses which resulted in ret
always being > 0.
Reviewed-by: 's avatarwm4 <nfxjfg@googlemail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 92b3c486
......@@ -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;
......
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