summaryrefslogtreecommitdiffstats
path: root/stream/stream_radio.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-02 21:37:08 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-02 21:37:08 +0000
commitdd2fcb437012da34117ff1670d5753a4503afc58 (patch)
treef7847f570a9bdb5a9e0718d7547fdaed657ffa0c /stream/stream_radio.c
parentb8a403f124ad72b927b748f8609693accd86628f (diff)
downloadmpv-dd2fcb437012da34117ff1670d5753a4503afc58.tar.bz2
mpv-dd2fcb437012da34117ff1670d5753a4503afc58.tar.xz
stream_opts arrays should be const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25270 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_radio.c')
-rw-r--r--stream/stream_radio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_radio.c b/stream/stream_radio.c
index 3aae1aaf59..7ca3424b25 100644
--- a/stream/stream_radio.c
+++ b/stream/stream_radio.c
@@ -141,7 +141,7 @@ typedef struct radio_driver_s {
} radio_driver_t;
#define ST_OFF(f) M_ST_OFF(radio_param_t,f)
-static m_option_t stream_opts_fields[] = {
+static const m_option_t stream_opts_fields[] = {
{"hostname", ST_OFF(freq_channel), CONF_TYPE_FLOAT, 0, 0 ,0, NULL},
{"filename", ST_OFF(capture), CONF_TYPE_STRING, 0, 0 ,0, NULL},
{ NULL, NULL, 0, 0, 0, 0, NULL }