mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
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) {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user