diff 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
line wrap: on
line diff
--- a/libmpcodecs/ve_xvid4.c	Sun Apr 04 15:57:17 2010 +0000
+++ b/libmpcodecs/ve_xvid4.c	Sun Apr 04 15:59:09 2010 +0000
@@ -216,7 +216,7 @@
 
 static char *xvidenc_zones = NULL; // zones string
 
-m_option_t xvidencopts_conf[] =
+const m_option_t xvidencopts_conf[] =
 {
 	/* Standard things mencoder should be able to treat directly */
 	{"bitrate", &xvidenc_bitrate, CONF_TYPE_INT, 0, 0, 0, NULL},