lavf/http: Remove superfluous parenthesis.

Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Stephan Holljes 2015-09-03 15:56:12 +02:00 committed by Michael Niedermayer
parent a212a983c7
commit 280d140cb0
1 changed files with 1 additions and 1 deletions

View File

@ -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;