[FFmpeg-devel] [PATCH] lavf/http: Remove superfluous parenthesis.

Michael Niedermayer michaelni at gmx.at
Thu Sep 3 20:04:07 CEST 2015


On Thu, Sep 03, 2015 at 08:00:58AM -0700, Ganesh Ajjanagadde wrote:
> On Thu, Sep 3, 2015 at 6:56 AM, Stephan Holljes
> <klaxa1337 at googlemail.com> wrote:
> > Signed-off-by: Stephan Holljes <klaxa1337 at 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
> 
> LGTM

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150903/93d3c84e/attachment.sig>


More information about the ffmpeg-devel mailing list