[vlc-devel] [PATCH] image: defer to avformat for BMP

Tristan Matthews tmatth at videolan.org
Fri Nov 13 13:08:06 CET 2015


On Fri, Nov 13, 2015 at 4:05 AM, Jean-Baptiste Kempf <jb at videolan.org>
wrote:

> Please share broken samples.
>

The reference files in the directory "g":
http://entropymine.com/jason/bmpsuite/


>
> On 12 Nov, Tristan Matthews wrote :
> > "Fixes" broken BMP demuxing.
> > ---
> >  modules/demux/image.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/modules/demux/image.c b/modules/demux/image.c
> > index 43c4847..0e227b0 100644
> > --- a/modules/demux/image.c
> > +++ b/modules/demux/image.c
> > @@ -631,7 +631,7 @@ static int Open(vlc_object_t *object)
> >      msg_Dbg(demux, "Detected image: %s",
> >              vlc_fourcc_GetDescription(VIDEO_ES, img->codec));
> >
> > -    if( img->codec == VLC_CODEC_MXPEG )
> > +    if( img->codec == VLC_CODEC_MXPEG || img->codec == VLC_CODEC_BMP )
> >      {
> >          return VLC_EGENERIC; //let avformat demux this file
> >      }
> > --
> > 2.6.2
> >
> > _______________________________________________
> > vlc-devel mailing list
> > To unsubscribe or modify your subscription options:
> > https://mailman.videolan.org/listinfo/vlc-devel
>
> --
> With my kindest regards,
>
> --
> Jean-Baptiste Kempf
> http://www.jbkempf.com/ - +33 672 704 734
> Sent from my Electronic Device
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20151113/dc5ed1c1/attachment.html>


More information about the vlc-devel mailing list