On Fri, Sep 12, 2014 at 10:20:41AM +0200, Benoit Fouet wrote: > Hi, > > ----- Mail original ----- > > Fixes Ticket3901 > > > > Signed-off-by: Michael Niedermayer <michae...@gmx.at> > > --- > > libavformat/img2dec.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c > > index 9f48c5d..a21429f 100644 > > --- a/libavformat/img2dec.c > > +++ b/libavformat/img2dec.c > > @@ -162,6 +162,8 @@ static int img_read_probe(AVProbeData *p) > > return AVPROBE_SCORE_MAX; > > else if (is_glob(p->filename)) > > return AVPROBE_SCORE_MAX; > > + else if (p->buf_size == 0) > > + return 0; > > else if (av_match_ext(p->filename, "raw") || > > av_match_ext(p->filename, "gif")) > > return 5; > > else > > > > LGTM
applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB While the State exists there can be no freedom; when there is freedom there will be no State. -- Vladimir Lenin
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel