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

Jean-Baptiste Kempf jb at videolan.org
Fri Nov 13 10:05:53 CET 2015


Please share broken samples.

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


More information about the vlc-devel mailing list