comparison libmpdemux/demux_lavf.c @ 25241:bb7c65f2a289

Make m_option_t arrays referenced by cfg-common.h const
author reimar
date Sun, 02 Dec 2007 21:26:23 +0000
parents c6702b710b2c
children 5075d5ff1da8
comparison
equal deleted inserted replaced
25240:525f22b6429b 25241:bb7c65f2a289
50 static unsigned int opt_analyzeduration = 0; 50 static unsigned int opt_analyzeduration = 0;
51 static char *opt_format; 51 static char *opt_format;
52 static char *opt_cryptokey; 52 static char *opt_cryptokey;
53 extern int ts_prog; 53 extern int ts_prog;
54 54
55 m_option_t lavfdopts_conf[] = { 55 const m_option_t lavfdopts_conf[] = {
56 {"probesize", &(opt_probesize), CONF_TYPE_INT, CONF_RANGE, 32, INT_MAX, NULL}, 56 {"probesize", &(opt_probesize), CONF_TYPE_INT, CONF_RANGE, 32, INT_MAX, NULL},
57 {"format", &(opt_format), CONF_TYPE_STRING, 0, 0, 0, NULL}, 57 {"format", &(opt_format), CONF_TYPE_STRING, 0, 0, 0, NULL},
58 {"analyzeduration", &(opt_analyzeduration), CONF_TYPE_INT, CONF_RANGE, 0, INT_MAX, NULL}, 58 {"analyzeduration", &(opt_analyzeduration), CONF_TYPE_INT, CONF_RANGE, 0, INT_MAX, NULL},
59 {"cryptokey", &(opt_cryptokey), CONF_TYPE_STRING, 0, 0, 0, NULL}, 59 {"cryptokey", &(opt_cryptokey), CONF_TYPE_STRING, 0, 0, 0, NULL},
60 {NULL, NULL, 0, 0, 0, 0, NULL} 60 {NULL, NULL, 0, 0, 0, 0, NULL}