[Mplayer-cvslog] CVS: main/libmpdemux demux_rawaudio.c,1.6,1.7

Alban Bedel CVS albeu at mplayerhq.hu
Sun Mar 30 19:11:31 CEST 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv8359/libmpdemux

Modified Files:
	demux_rawaudio.c 
Log Message:
Set deuxer_type instead of using our own global var.


Index: demux_rawaudio.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_rawaudio.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- demux_rawaudio.c	27 Mar 2003 20:27:50 -0000	1.6
+++ demux_rawaudio.c	30 Mar 2003 17:11:27 -0000	1.7
@@ -14,14 +14,14 @@
 #include "stheader.h"
 
 
-int use_rawaudio = 0;
+extern int demuxer_type;
 static int channels = 2;
 static int samplerate = 44100;
 static int samplesize = 2;
 static int format = 0x1; // Raw PCM
 
 config_t demux_rawaudio_opts[] = {
-  { "on", &use_rawaudio, CONF_TYPE_FLAG, 0,0, 1, NULL },
+  { "on", &demuxer_type, CONF_TYPE_FLAG, 0,0, DEMUXER_TYPE_RAWAUDIO, NULL },
   { "channels", &channels, CONF_TYPE_INT,CONF_RANGE,1,8, NULL },
   { "rate", &samplerate, CONF_TYPE_INT,CONF_RANGE,1000,8*48000, NULL },
   { "samplesize", &samplesize, CONF_TYPE_INT,CONF_RANGE,1,8, NULL },



More information about the MPlayer-cvslog mailing list