summaryrefslogtreecommitdiffstats
path: root/libmpdemux/muxer_mpeg.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-04 16:12:23 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-04 16:12:23 +0000
commit51d72c776401702ad92b6f7bb0fc2e9b411267e3 (patch)
tree39df23629508f9097e054092e0da32a0962d4b95 /libmpdemux/muxer_mpeg.c
parent637dd3d064e28d327cc6ef44e442b8aa58e7d357 (diff)
downloadmpv-51d72c776401702ad92b6f7bb0fc2e9b411267e3.tar.bz2
mpv-51d72c776401702ad92b6f7bb0fc2e9b411267e3.tar.xz
Mark muxer-related m_option_t arrays as const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31000 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/muxer_mpeg.c')
-rw-r--r--libmpdemux/muxer_mpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/muxer_mpeg.c b/libmpdemux/muxer_mpeg.c
index 817361ad7a..7dcbeed784 100644
--- a/libmpdemux/muxer_mpeg.c
+++ b/libmpdemux/muxer_mpeg.c
@@ -208,7 +208,7 @@ typedef struct {
#define TELECINE_FILM2PAL 2
#define TELECINE_DGPULLDOWN 3
-m_option_t mpegopts_conf[] = {
+const m_option_t mpegopts_conf[] = {
{"format", &(conf_mux), CONF_TYPE_STRING, M_OPT_GLOBAL, 0 ,0, NULL},
{"size", &(conf_packet_size), CONF_TYPE_INT, M_OPT_GLOBAL|M_OPT_RANGE, 0, 65535, NULL},
{"muxrate", &(conf_muxrate), CONF_TYPE_INT, M_OPT_GLOBAL|M_OPT_RANGE, 0, 12000000, NULL}, //12 Mb/s