[FFmpeg-devel] [PATCH 2/7] img2dec: Remove dead code

Michael Niedermayer michaelni at gmx.at
Fri Feb 6 20:13:13 CET 2015


On Fri, Feb 06, 2015 at 07:21:30PM +0100, Reimar Döffinger wrote:
> On Thu, Feb 05, 2015 at 11:06:40PM -0800, Timothy Gu wrote:
> > ---
> >  libavformat/img2dec.c | 4 +---
> >  1 file changed, 1 insertion(+), 3 deletions(-)
> > 
> > diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
> > index 1ab1309..8c5e9d5 100644
> > --- a/libavformat/img2dec.c
> > +++ b/libavformat/img2dec.c
> > @@ -599,10 +599,8 @@ static int bmp_probe(AVProbeData *p)
> >  
> >      if (!AV_RN32(b + 6)) {
> >          return AVPROBE_SCORE_EXTENSION + 1;
> > -    } else {
> > -        return AVPROBE_SCORE_EXTENSION / 4;
> >      }
> > -    return 0;
> > +    return AVPROBE_SCORE_EXTENSION / 4;
> 
> Looks good to me.

applied

thanks

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

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150206/0da94d62/attachment.asc>


More information about the ffmpeg-devel mailing list