Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
25241:bb7c65f2a289 | 25242:371a40dcc1cc |
---|---|
143 1 | 143 1 |
144 }; | 144 }; |
145 | 145 |
146 #define ST_OFF(f) M_ST_OFF(struct stream_priv_s,f) | 146 #define ST_OFF(f) M_ST_OFF(struct stream_priv_s,f) |
147 /// URL definition | 147 /// URL definition |
148 static m_option_t stream_opts_fields[] = { | 148 static const m_option_t stream_opts_fields[] = { |
149 { "hostname", ST_OFF(title), CONF_TYPE_INT, M_OPT_MIN, 1, 0, NULL }, | 149 { "hostname", ST_OFF(title), CONF_TYPE_INT, M_OPT_MIN, 1, 0, NULL }, |
150 { NULL, NULL, 0, 0, 0, 0, NULL } | 150 { NULL, NULL, 0, 0, 0, 0, NULL } |
151 }; | 151 }; |
152 static struct m_struct_st stream_opts = { | 152 static struct m_struct_st stream_opts = { |
153 "dvd", | 153 "dvd", |