Mercurial > mplayer.hg
diff 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 |
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c Sun Dec 02 20:48:16 2007 +0000 +++ b/libmpdemux/demux_lavf.c Sun Dec 02 21:26:23 2007 +0000 @@ -52,7 +52,7 @@ static char *opt_cryptokey; extern int ts_prog; -m_option_t lavfdopts_conf[] = { +const m_option_t lavfdopts_conf[] = { {"probesize", &(opt_probesize), CONF_TYPE_INT, CONF_RANGE, 32, INT_MAX, NULL}, {"format", &(opt_format), CONF_TYPE_STRING, 0, 0, 0, NULL}, {"analyzeduration", &(opt_analyzeduration), CONF_TYPE_INT, CONF_RANGE, 0, INT_MAX, NULL},