summaryrefslogtreecommitdiffstats
path: root/stream/stream_tv.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_tv.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_tv.c')
-rw-r--r--stream/stream_tv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_tv.c b/stream/stream_tv.c
index 19f991683d..560bb35061 100644
--- a/stream/stream_tv.c
+++ b/stream/stream_tv.c
@@ -81,7 +81,7 @@ tv_param_t stream_tv_defaults = {
};
#define ST_OFF(f) M_ST_OFF(tv_param_t,f)
-static m_option_t stream_opts_fields[] = {
+static const m_option_t stream_opts_fields[] = {
{"hostname", ST_OFF(channel), CONF_TYPE_STRING, 0, 0 ,0, NULL},
{"filename", ST_OFF(input), CONF_TYPE_INT, 0, 0 ,0, NULL},
{ NULL, NULL, 0, 0, 0, 0, NULL }