# HG changeset patch # User reimar # Date 1175878680 0 # Node ID bbc011e59732d63303f7ef675c95a9e32c381d45 # Parent d74001dbe2a675437b5fae150d5985147686b4e7 BMP support for mf:// Patch by lode leroy [lode_leroy hotmail com] diff -r d74001dbe2a6 -r bbc011e59732 libmpdemux/demux_mf.c --- a/libmpdemux/demux_mf.c Fri Apr 06 15:30:39 2007 +0000 +++ b/libmpdemux/demux_mf.c Fri Apr 06 16:58:00 2007 +0000 @@ -105,6 +105,8 @@ 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; }