changeset 22903:bbc011e59732

BMP support for mf:// Patch by lode leroy [lode_leroy hotmail com]
author reimar
date Fri, 06 Apr 2007 16:58:00 +0000
parents d74001dbe2a6
children 69288b4e6b89
files libmpdemux/demux_mf.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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; }