summaryrefslogtreecommitdiffstats
path: root/libao2/ao_pcm.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-09-02 11:33:37 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-09-02 11:33:37 +0000
commit790e41cf8f8e047942231a062d3a937bbc3e3d14 (patch)
treef07dc67d05339f4b0bbcca54ed8aa011b275c44f /libao2/ao_pcm.c
parent46a0ddd36e47063e0989d6846e2a0d2c539ffaba (diff)
downloadmpv-790e41cf8f8e047942231a062d3a937bbc3e3d14.tar.bz2
mpv-790e41cf8f8e047942231a062d3a937bbc3e3d14.tar.xz
The suboption parser now takes a const options list, so mark them all const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29628 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2/ao_pcm.c')
-rw-r--r--libao2/ao_pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libao2/ao_pcm.c b/libao2/ao_pcm.c
index 7f7a6e3b27..9dc97e7554 100644
--- a/libao2/ao_pcm.c
+++ b/libao2/ao_pcm.c
@@ -94,7 +94,7 @@ static int control(int cmd,void *arg){
// return: 1=success 0=fail
static int init(int rate,int channels,int format,int flags){
int bits;
- opt_t subopts[] = {
+ const opt_t subopts[] = {
{"waveheader", OPT_ARG_BOOL, &ao_pcm_waveheader, NULL},
{"file", OPT_ARG_MSTRZ, &ao_outputfilename, NULL},
{"fast", OPT_ARG_BOOL, &fast, NULL},