comparison libmpcodecs/ve_xvid4.c @ 30955:4e59a7aebadb

Mark encoder-related m_option_t struct arrays as const.
author diego
date Sun, 04 Apr 2010 15:59:09 +0000
parents a972c1a4a012
children 0b29d0c8c62d
comparison
equal deleted inserted replaced
30954:e8b0797970b6 30955:4e59a7aebadb
214 static float xvidenc_dar_aspect = 0.0f; 214 static float xvidenc_dar_aspect = 0.0f;
215 static int xvidenc_autoaspect = 0; 215 static int xvidenc_autoaspect = 0;
216 216
217 static char *xvidenc_zones = NULL; // zones string 217 static char *xvidenc_zones = NULL; // zones string
218 218
219 m_option_t xvidencopts_conf[] = 219 const m_option_t xvidencopts_conf[] =
220 { 220 {
221 /* Standard things mencoder should be able to treat directly */ 221 /* Standard things mencoder should be able to treat directly */
222 {"bitrate", &xvidenc_bitrate, CONF_TYPE_INT, 0, 0, 0, NULL}, 222 {"bitrate", &xvidenc_bitrate, CONF_TYPE_INT, 0, 0, 0, NULL},
223 {"pass", &xvidenc_pass, CONF_TYPE_INT, CONF_RANGE, 1, 2, NULL}, 223 {"pass", &xvidenc_pass, CONF_TYPE_INT, CONF_RANGE, 1, 2, NULL},
224 {"fixed_quant", &xvidenc_quantizer, CONF_TYPE_FLOAT, CONF_RANGE, 1, 31, NULL}, 224 {"fixed_quant", &xvidenc_quantizer, CONF_TYPE_FLOAT, CONF_RANGE, 1, 31, NULL},