comparison stream/stream_tv.c @ 25691:68015115f63a

stream_opts should be const
author reimar
date Sun, 13 Jan 2008 12:34:42 +0000
parents 371a40dcc1cc
children a26e50cae389
comparison
equal deleted inserted replaced
25690:7b66e1a132de 25691:68015115f63a
85 {"hostname", ST_OFF(channel), CONF_TYPE_STRING, 0, 0 ,0, NULL}, 85 {"hostname", ST_OFF(channel), CONF_TYPE_STRING, 0, 0 ,0, NULL},
86 {"filename", ST_OFF(input), CONF_TYPE_INT, 0, 0 ,0, NULL}, 86 {"filename", ST_OFF(input), CONF_TYPE_INT, 0, 0 ,0, NULL},
87 { NULL, NULL, 0, 0, 0, 0, NULL } 87 { NULL, NULL, 0, 0, 0, 0, NULL }
88 }; 88 };
89 89
90 static struct m_struct_st stream_opts = { 90 static const struct m_struct_st stream_opts = {
91 "tv", 91 "tv",
92 sizeof(tv_param_t), 92 sizeof(tv_param_t),
93 &stream_tv_defaults, 93 &stream_tv_defaults,
94 stream_opts_fields 94 stream_opts_fields
95 }; 95 };