[vlc-devel] [PATCH] image: defer to avformat for BMP
Tristan Matthews
tmatth at videolan.org
Thu Nov 12 22:46:35 CET 2015
"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
More information about the vlc-devel
mailing list