aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-13 12:34:42 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-13 12:34:42 +0000
commit6f616c316dbdea9ed273cf996aab0e502d24e220 (patch)
tree2f7c6d2151a33d7496d21285609bf08236fd5911
parent62b89eb60a43192589f7a2f24622d533ea617c18 (diff)
stream_opts should be const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25719 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--stream/stream_cdda.c2
-rw-r--r--stream/stream_cue.c2
-rw-r--r--stream/stream_dvb.c2
-rw-r--r--stream/stream_dvd.c2
-rw-r--r--stream/stream_dvdnav.c2
-rw-r--r--stream/stream_file.c2
-rw-r--r--stream/stream_ftp.c2
-rw-r--r--stream/stream_netstream.c2
-rw-r--r--stream/stream_radio.c2
-rw-r--r--stream/stream_smb.c2
-rw-r--r--stream/stream_tv.c2
-rw-r--r--stream/stream_vcd.c2
-rw-r--r--stream/stream_vstream.c2
13 files changed, 13 insertions, 13 deletions
diff --git a/stream/stream_cdda.c b/stream/stream_cdda.c
index 2cbe41c29a..00c8a4934e 100644
--- a/stream/stream_cdda.c
+++ b/stream/stream_cdda.c
@@ -65,7 +65,7 @@ static const m_option_t cdda_params_fields[] = {
{ "filename", ST_OFF(device), CONF_TYPE_STRING, 0, 0, 0, NULL },
{NULL, NULL, 0, 0, 0, 0, NULL}
};
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
"cdda",
sizeof(struct cdda_params),
&cdda_dflts,
diff --git a/stream/stream_cue.c b/stream/stream_cue.c
index 238ae183a8..cbb5e3e2c4 100644
--- a/stream/stream_cue.c
+++ b/stream/stream_cue.c
@@ -47,7 +47,7 @@ static const m_option_t stream_opts_fields[] = {
{ "string", ST_OFF(filename), CONF_TYPE_STRING, 0, 0 ,0, NULL},
{ NULL, NULL, 0, 0, 0, 0, NULL }
};
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
"cue",
sizeof(struct stream_priv_s),
&stream_priv_dflts,
diff --git a/stream/stream_dvb.c b/stream/stream_dvb.c
index ccc77190de..4b6bae4545 100644
--- a/stream/stream_dvb.c
+++ b/stream/stream_dvb.c
@@ -89,7 +89,7 @@ static const m_option_t stream_params[] = {
{NULL, NULL, 0, 0, 0, 0, NULL}
};
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
"dvbin",
sizeof(struct stream_priv_s),
&stream_defaults,
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index f32bcf2c56..1ec2efc24a 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -149,7 +149,7 @@ static const m_option_t stream_opts_fields[] = {
{ "hostname", ST_OFF(title), CONF_TYPE_INT, M_OPT_MIN, 1, 0, NULL },
{ NULL, NULL, 0, 0, 0, 0, NULL }
};
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
"dvd",
sizeof(struct stream_priv_s),
&stream_priv_dflts,
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c
index 2200fb3e94..d8d97bf217 100644
--- a/stream/stream_dvdnav.c
+++ b/stream/stream_dvdnav.c
@@ -51,7 +51,7 @@ static const m_option_t stream_opts_fields[] = {
{"hostname", ST_OFF(track), CONF_TYPE_INT, 0, 0, 0, NULL},
{ NULL, NULL, 0, 0, 0, 0, NULL }
};
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
"dvd",
sizeof(struct stream_priv_s),
&stream_priv_dflts,
diff --git a/stream/stream_file.c b/stream/stream_file.c
index 615d7d161a..810d8bfa90 100644
--- a/stream/stream_file.c
+++ b/stream/stream_file.c
@@ -27,7 +27,7 @@ static const m_option_t stream_opts_fields[] = {
{"filename", ST_OFF(filename2), CONF_TYPE_STRING, 0, 0 ,0, NULL},
{ NULL, NULL, 0, 0, 0, 0, NULL }
};
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
"file",
sizeof(struct stream_priv_s),
&stream_priv_dflts,
diff --git a/stream/stream_ftp.c b/stream/stream_ftp.c
index 55dc519618..de821b7ed1 100644
--- a/stream/stream_ftp.c
+++ b/stream/stream_ftp.c
@@ -59,7 +59,7 @@ static const m_option_t stream_opts_fields[] = {
{"filename", ST_OFF(filename), CONF_TYPE_STRING, 0, 0 ,0, NULL},
{ NULL, NULL, 0, 0, 0, 0, NULL }
};
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
"ftp",
sizeof(struct stream_priv_s),
&stream_priv_dflts,
diff --git a/stream/stream_netstream.c b/stream/stream_netstream.c
index 7d387a4504..ea7441a0d0 100644
--- a/stream/stream_netstream.c
+++ b/stream/stream_netstream.c
@@ -82,7 +82,7 @@ static const m_option_t stream_opts_fields[] = {
{"filename", ST_OFF(url), CONF_TYPE_STRING, 0, 0 ,0, NULL},
{ NULL, NULL, 0, 0, 0, 0, NULL }
};
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
"netstream",
sizeof(struct stream_priv_s),
&stream_priv_dflts,
diff --git a/stream/stream_radio.c b/stream/stream_radio.c
index 7ca3424b25..85607f6fa9 100644
--- a/stream/stream_radio.c
+++ b/stream/stream_radio.c
@@ -147,7 +147,7 @@ static const m_option_t stream_opts_fields[] = {
{ NULL, NULL, 0, 0, 0, 0, NULL }
};
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
"radio",
sizeof(radio_param_t),
&stream_radio_defaults,
diff --git a/stream/stream_smb.c b/stream/stream_smb.c
index 282aec078a..370e599db5 100644
--- a/stream/stream_smb.c
+++ b/stream/stream_smb.c
@@ -20,7 +20,7 @@ static const m_option_t stream_opts_fields[] = {
{ NULL, NULL, 0, 0, 0, 0, NULL }
};
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
"smb",
sizeof(struct stream_priv_s),
&stream_priv_dflts,
diff --git a/stream/stream_tv.c b/stream/stream_tv.c
index 560bb35061..2efb9c7139 100644
--- a/stream/stream_tv.c
+++ b/stream/stream_tv.c
@@ -87,7 +87,7 @@ static const m_option_t stream_opts_fields[] = {
{ NULL, NULL, 0, 0, 0, 0, NULL }
};
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
"tv",
sizeof(tv_param_t),
&stream_tv_defaults,
diff --git a/stream/stream_vcd.c b/stream/stream_vcd.c
index 1060b0f0e4..4202a9786d 100644
--- a/stream/stream_vcd.c
+++ b/stream/stream_vcd.c
@@ -51,7 +51,7 @@ static const m_option_t stream_opts_fields[] = {
{ "filename", ST_OFF(device), CONF_TYPE_STRING, 0, 0 ,0, NULL},
{ NULL, NULL, 0, 0, 0, 0, NULL }
};
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
"vcd",
sizeof(struct stream_priv_s),
&stream_priv_dflts,
diff --git a/stream/stream_vstream.c b/stream/stream_vstream.c
index 8dd0d2cd5a..a8ea09ba89 100644
--- a/stream/stream_vstream.c
+++ b/stream/stream_vstream.c
@@ -78,7 +78,7 @@ static const m_option_t stream_opts_fields[] = {
{ NULL, NULL, 0, 0, 0, 0, NULL }
};
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
"vstream",
sizeof(struct stream_priv_s),
&stream_priv_dflts,