Signed-off-by: Stephan Holljes <klaxa1...@googlemail.com> --- libavformat/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/http.c b/libavformat/http.c index c148a29..20e942e 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -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; -- 2.4.3 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel