[MPlayer-cvslog] r22921 - trunk/libmpdemux/demux_mf.c
reimar
subversion at mplayerhq.hu
Fri Apr 6 18:58:00 CEST 2007
Author: reimar
Date: Fri Apr 6 18:58:00 2007
New Revision: 22921
Modified:
trunk/libmpdemux/demux_mf.c
Log:
BMP support for mf://
Patch by lode leroy [lode_leroy hotmail com]
Modified: trunk/libmpdemux/demux_mf.c
==============================================================================
--- trunk/libmpdemux/demux_mf.c (original)
+++ trunk/libmpdemux/demux_mf.c Fri Apr 6 18:58:00 2007
@@ -105,6 +105,8 @@ static demuxer_t* demux_open_mf(demuxer_
if ( !strcasecmp( mf_type,"png" )) sh_video->format = mmioFOURCC('M', 'P', 'N', 'G' );
else
if ( !strcasecmp( mf_type,"tga" )) sh_video->format = mmioFOURCC('M', 'T', 'G', 'A' );
+ else
+ if ( !strcasecmp( mf_type,"bmp" )) sh_video->format = mmioFOURCC('b', 'm', 'p', ' ' );
else
if (!strcasecmp( mf_type,"sgi" )) sh_video->format = mmioFOURCC('S', 'G', 'I', '1');
else { mp_msg(MSGT_DEMUX, MSGL_INFO, "[demux_mf] unknown input file type.\n" ); free( mf ); return NULL; }
More information about the MPlayer-cvslog
mailing list