diff stream/stream_dvb.c @ 25242:371a40dcc1cc

stream_opts arrays should be const
author reimar
date Sun, 02 Dec 2007 21:37:08 +0000
parents bb7c65f2a289
children 3110688d2406
line wrap: on
line diff
--- a/stream/stream_dvb.c	Sun Dec 02 21:26:23 2007 +0000
+++ b/stream/stream_dvb.c	Sun Dec 02 21:37:08 2007 +0000
@@ -75,7 +75,7 @@
 #define ST_OFF(f) M_ST_OFF(struct stream_priv_s, f)
 
 /// URL definition
-static m_option_t stream_params[] = {
+static const m_option_t stream_params[] = {
 	{"prog", ST_OFF(prog), CONF_TYPE_STRING, 0, 0 ,0, NULL},
 	{"card", ST_OFF(card), CONF_TYPE_INT, M_OPT_RANGE, 1, 4, NULL},
 	{"type", ST_OFF(type), CONF_TYPE_STRING, 0, 0 ,0, NULL},