aboutsummaryrefslogtreecommitdiffhomepage
path: root/stream
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-02 21:26:23 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-02 21:26:23 +0000
commitb8a403f124ad72b927b748f8609693accd86628f (patch)
tree539f1861a61c4e38af974f3d14c0d19d5fb0fb3a /stream
parent1f8007f0fd67a9b31275518d090140bb0608bbaf (diff)
Make m_option_t arrays referenced by cfg-common.h const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25269 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_cdda.c2
-rw-r--r--stream/stream_dvb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/stream/stream_cdda.c b/stream/stream_cdda.c
index 75f51121f1..617ff30a1a 100644
--- a/stream/stream_cdda.c
+++ b/stream/stream_cdda.c
@@ -73,7 +73,7 @@ static struct m_struct_st stream_opts = {
};
/// We keep these options but now they set the defaults
-m_option_t cdda_opts[] = {
+const m_option_t cdda_opts[] = {
{ "speed", &cdda_dflts.speed, CONF_TYPE_INT, M_OPT_RANGE,1,100, NULL },
{ "paranoia", &cdda_dflts.paranoia_mode, CONF_TYPE_INT,M_OPT_RANGE, 0, 2, NULL },
{ "generic-dev", &cdda_dflts.generic_dev, CONF_TYPE_STRING, 0, 0, 0, NULL },
diff --git a/stream/stream_dvb.c b/stream/stream_dvb.c
index d31d6a5d69..f62ffec332 100644
--- a/stream/stream_dvb.c
+++ b/stream/stream_dvb.c
@@ -98,7 +98,7 @@ static struct m_struct_st stream_opts = {
-m_option_t dvbin_opts_conf[] = {
+const m_option_t dvbin_opts_conf[] = {
{"prog", &stream_defaults.prog, CONF_TYPE_STRING, 0, 0 ,0, NULL},
{"card", &stream_defaults.card, CONF_TYPE_INT, M_OPT_RANGE, 1, 4, NULL},
{"type", "DVB card type is autodetected and can't be overridden\n", CONF_TYPE_PRINT, CONF_NOCFG, 0 ,0, NULL},