[vlc-devel] [PATCH] image: defer to avformat for BMP
Rémi Denis-Courmont
remi at remlab.net
Fri Nov 13 10:21:09 CET 2015
Le 2015-11-13 00:46, Tristan Matthews a écrit :
> "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
Missing module_exists() ?
> }
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list