lavf/http: Fix incorrectly placed parenthesis.
The assignment had incorrectly placed parentheses which resulted in ret always being > 0. Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
92b3c486b0
commit
dd7b486e8e
@ -399,7 +399,7 @@ static int http_handshake(URLContext *c)
|
|||||||
switch (ch->handshake_step) {
|
switch (ch->handshake_step) {
|
||||||
case LOWER_PROTO:
|
case LOWER_PROTO:
|
||||||
av_log(c, AV_LOG_TRACE, "Lower protocol\n");
|
av_log(c, AV_LOG_TRACE, "Lower protocol\n");
|
||||||
if ((ret = ffurl_handshake(cl) > 0))
|
if ((ret = ffurl_handshake(cl)) > 0)
|
||||||
return 2 + ret;
|
return 2 + ret;
|
||||||
if ((ret < 0))
|
if ((ret < 0))
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user