[MPlayer-cvslog] r25719 - in trunk/stream: stream_cdda.c stream_cue.c stream_dvb.c stream_dvd.c stream_dvdnav.c stream_file.c stream_ftp.c stream_netstream.c stream_radio.c stream_smb.c stream_tv.c stream_vcd.c stream_vstream.c
reimar
subversion at mplayerhq.hu
Sun Jan 13 13:34:42 CET 2008
Author: reimar
Date: Sun Jan 13 13:34:42 2008
New Revision: 25719
Log:
stream_opts should be const
Modified:
trunk/stream/stream_cdda.c
trunk/stream/stream_cue.c
trunk/stream/stream_dvb.c
trunk/stream/stream_dvd.c
trunk/stream/stream_dvdnav.c
trunk/stream/stream_file.c
trunk/stream/stream_ftp.c
trunk/stream/stream_netstream.c
trunk/stream/stream_radio.c
trunk/stream/stream_smb.c
trunk/stream/stream_tv.c
trunk/stream/stream_vcd.c
trunk/stream/stream_vstream.c
Modified: trunk/stream/stream_cdda.c
==============================================================================
--- trunk/stream/stream_cdda.c (original)
+++ trunk/stream/stream_cdda.c Sun Jan 13 13:34:42 2008
@@ -65,7 +65,7 @@ static const m_option_t cdda_params_fiel
{ "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,
Modified: trunk/stream/stream_cue.c
==============================================================================
--- trunk/stream/stream_cue.c (original)
+++ trunk/stream/stream_cue.c Sun Jan 13 13:34:42 2008
@@ -47,7 +47,7 @@ static const m_option_t stream_opts_fiel
{ "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,
Modified: trunk/stream/stream_dvb.c
==============================================================================
--- trunk/stream/stream_dvb.c (original)
+++ trunk/stream/stream_dvb.c Sun Jan 13 13:34:42 2008
@@ -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,
Modified: trunk/stream/stream_dvd.c
==============================================================================
--- trunk/stream/stream_dvd.c (original)
+++ trunk/stream/stream_dvd.c Sun Jan 13 13:34:42 2008
@@ -149,7 +149,7 @@ static const m_option_t stream_opts_fiel
{ "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,
Modified: trunk/stream/stream_dvdnav.c
==============================================================================
--- trunk/stream/stream_dvdnav.c (original)
+++ trunk/stream/stream_dvdnav.c Sun Jan 13 13:34:42 2008
@@ -51,7 +51,7 @@ static const m_option_t stream_opts_fiel
{"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,
Modified: trunk/stream/stream_file.c
==============================================================================
--- trunk/stream/stream_file.c (original)
+++ trunk/stream/stream_file.c Sun Jan 13 13:34:42 2008
@@ -27,7 +27,7 @@ static const m_option_t stream_opts_fiel
{"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,
Modified: trunk/stream/stream_ftp.c
==============================================================================
--- trunk/stream/stream_ftp.c (original)
+++ trunk/stream/stream_ftp.c Sun Jan 13 13:34:42 2008
@@ -59,7 +59,7 @@ static const m_option_t stream_opts_fiel
{"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,
Modified: trunk/stream/stream_netstream.c
==============================================================================
--- trunk/stream/stream_netstream.c (original)
+++ trunk/stream/stream_netstream.c Sun Jan 13 13:34:42 2008
@@ -82,7 +82,7 @@ static const m_option_t stream_opts_fiel
{"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,
Modified: trunk/stream/stream_radio.c
==============================================================================
--- trunk/stream/stream_radio.c (original)
+++ trunk/stream/stream_radio.c Sun Jan 13 13:34:42 2008
@@ -147,7 +147,7 @@ static const m_option_t stream_opts_fiel
{ 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,
Modified: trunk/stream/stream_smb.c
==============================================================================
--- trunk/stream/stream_smb.c (original)
+++ trunk/stream/stream_smb.c Sun Jan 13 13:34:42 2008
@@ -20,7 +20,7 @@ static const m_option_t stream_opts_fiel
{ 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,
Modified: trunk/stream/stream_tv.c
==============================================================================
--- trunk/stream/stream_tv.c (original)
+++ trunk/stream/stream_tv.c Sun Jan 13 13:34:42 2008
@@ -87,7 +87,7 @@ static const m_option_t stream_opts_fiel
{ 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,
Modified: trunk/stream/stream_vcd.c
==============================================================================
--- trunk/stream/stream_vcd.c (original)
+++ trunk/stream/stream_vcd.c Sun Jan 13 13:34:42 2008
@@ -51,7 +51,7 @@ static const m_option_t stream_opts_fiel
{ "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,
Modified: trunk/stream/stream_vstream.c
==============================================================================
--- trunk/stream/stream_vstream.c (original)
+++ trunk/stream/stream_vstream.c Sun Jan 13 13:34:42 2008
@@ -78,7 +78,7 @@ static const m_option_t stream_opts_fiel
{ 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,
More information about the MPlayer-cvslog
mailing list