diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-09-02 11:33:37 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-09-02 11:33:37 +0000 |
commit | 790e41cf8f8e047942231a062d3a937bbc3e3d14 (patch) | |
tree | f07dc67d05339f4b0bbcca54ed8aa011b275c44f /libao2/ao_alsa.c | |
parent | 46a0ddd36e47063e0989d6846e2a0d2c539ffaba (diff) | |
download | mpv-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_alsa.c')
-rw-r--r-- | libao2/ao_alsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libao2/ao_alsa.c b/libao2/ao_alsa.c index e13e641d05..5c4c5c585b 100644 --- a/libao2/ao_alsa.c +++ b/libao2/ao_alsa.c @@ -326,7 +326,7 @@ static int init(int rate_hz, int channels, int format, int flags) snd_pcm_uframes_t chunk_size; snd_pcm_uframes_t bufsize; snd_pcm_uframes_t boundary; - opt_t subopts[] = { + const opt_t subopts[] = { {"block", OPT_ARG_BOOL, &block, NULL}, {"device", OPT_ARG_STR, &device, (opt_test_f)str_maxlen}, {NULL} |