Mercurial > mplayer.hg
comparison stream/stream_vcd.c @ 25242:371a40dcc1cc
stream_opts arrays should be const
author | reimar |
---|---|
date | Sun, 02 Dec 2007 21:37:08 +0000 |
parents | c1d17bd6683c |
children | 23f02d6ac901 |
comparison
equal
deleted
inserted
replaced
25241:bb7c65f2a289 | 25242:371a40dcc1cc |
---|---|
41 NULL | 41 NULL |
42 }; | 42 }; |
43 | 43 |
44 #define ST_OFF(f) M_ST_OFF(struct stream_priv_s,f) | 44 #define ST_OFF(f) M_ST_OFF(struct stream_priv_s,f) |
45 /// URL definition | 45 /// URL definition |
46 static m_option_t stream_opts_fields[] = { | 46 static const m_option_t stream_opts_fields[] = { |
47 { "track", ST_OFF(track), CONF_TYPE_INT, M_OPT_MIN, 1, 0, NULL }, | 47 { "track", ST_OFF(track), CONF_TYPE_INT, M_OPT_MIN, 1, 0, NULL }, |
48 { "device", ST_OFF(device), CONF_TYPE_STRING, 0, 0 ,0, NULL}, | 48 { "device", ST_OFF(device), CONF_TYPE_STRING, 0, 0 ,0, NULL}, |
49 /// For url parsing | 49 /// For url parsing |
50 { "hostname", ST_OFF(track), CONF_TYPE_INT, M_OPT_MIN, 1, 0, NULL }, | 50 { "hostname", ST_OFF(track), CONF_TYPE_INT, M_OPT_MIN, 1, 0, NULL }, |
51 { "filename", ST_OFF(device), CONF_TYPE_STRING, 0, 0 ,0, NULL}, | 51 { "filename", ST_OFF(device), CONF_TYPE_STRING, 0, 0 ,0, NULL}, |