diff stream/stream_dvd.c @ 25242:371a40dcc1cc

stream_opts arrays should be const
author reimar
date Sun, 02 Dec 2007 21:37:08 +0000
parents 893db6cc97b2
children 23f02d6ac901
line wrap: on
line diff
--- a/stream/stream_dvd.c	Sun Dec 02 21:26:23 2007 +0000
+++ b/stream/stream_dvd.c	Sun Dec 02 21:37:08 2007 +0000
@@ -145,7 +145,7 @@
 
 #define ST_OFF(f) M_ST_OFF(struct stream_priv_s,f)
 /// URL definition
-static m_option_t stream_opts_fields[] = {
+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 }
 };