diff libmpdemux/muxer_lavf.c @ 30958:d05a77bed63f

Mark muxer-related m_option_t arrays as const.
author diego
date Sun, 04 Apr 2010 16:12:23 +0000
parents 9fc9d1e788aa
children eaf15344b19d
line wrap: on
line diff
--- a/libmpdemux/muxer_lavf.c	Sun Apr 04 16:11:20 2010 +0000
+++ b/libmpdemux/muxer_lavf.c	Sun Apr 04 16:12:23 2010 +0000
@@ -74,7 +74,7 @@
 static float mux_max_delay= 0.7;
 static char *mux_avopt = NULL;
 
-m_option_t lavfopts_conf[] = {
+const m_option_t lavfopts_conf[] = {
 	{"format", &(conf_format), CONF_TYPE_STRING, 0, 0, 0, NULL},
 	{"muxrate", &mux_rate, CONF_TYPE_INT, CONF_RANGE, 0, INT_MAX, NULL},
 	{"packetsize", &mux_packet_size, CONF_TYPE_INT, CONF_RANGE, 0, INT_MAX, NULL},