diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-03-30 17:11:27 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-03-30 17:11:27 +0000 |
commit | 93ad150457ca180d2ae09e1fbbd625eb16a956da (patch) | |
tree | 25781687ddac0d32873f5be1fa981f8b3cf58a7d /libmpdemux/demux_rawaudio.c | |
parent | c5c742302c5556624940964d319b7b7b88499825 (diff) | |
download | mpv-93ad150457ca180d2ae09e1fbbd625eb16a956da.tar.bz2 mpv-93ad150457ca180d2ae09e1fbbd625eb16a956da.tar.xz |
Set deuxer_type instead of using our own global var.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9751 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/demux_rawaudio.c')
-rw-r--r-- | libmpdemux/demux_rawaudio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/demux_rawaudio.c b/libmpdemux/demux_rawaudio.c index faa197967a..be0b3ef8d7 100644 --- a/libmpdemux/demux_rawaudio.c +++ b/libmpdemux/demux_rawaudio.c @@ -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 }, |