[Mplayer-cvslog] CVS: main/libmpdemux demux_mf.c,1.10,1.11
Michael Niedermayer CVS
michael at mplayerhq.hu
Wed Mar 5 11:38:59 CET 2003
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv14971/libmpdemux
Modified Files:
demux_mf.c
Log Message:
add support for sgi files to mencoder patch by (Todd Kirby <slapcat at pacbell dot net>)
Index: demux_mf.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mf.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- demux_mf.c 28 Jan 2003 22:00:57 -0000 1.10
+++ demux_mf.c 5 Mar 2003 10:38:56 -0000 1.11
@@ -98,7 +98,9 @@
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 { mp_msg(MSGT_DEMUX, MSGL_INFO, "[demux_mf] unknow input file type.\n" ); free( mf ); return NULL; }
+ 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; }
sh_video->disp_w = mf_w;
sh_video->disp_h = mf_h;
More information about the MPlayer-cvslog
mailing list