diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-02 21:26:23 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-02 21:26:23 +0000 |
commit | b8a403f124ad72b927b748f8609693accd86628f (patch) | |
tree | 539f1861a61c4e38af974f3d14c0d19d5fb0fb3a /libmpdemux | |
parent | 1f8007f0fd67a9b31275518d090140bb0608bbaf (diff) | |
download | mpv-b8a403f124ad72b927b748f8609693accd86628f.tar.bz2 mpv-b8a403f124ad72b927b748f8609693accd86628f.tar.xz |
Make m_option_t arrays referenced by cfg-common.h const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25269 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/demux_lavf.c | 2 | ||||
-rw-r--r-- | libmpdemux/demux_rawaudio.c | 2 | ||||
-rw-r--r-- | libmpdemux/demux_rawvideo.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libmpdemux/demux_lavf.c b/libmpdemux/demux_lavf.c index 70d90398e2..f7f1d856c0 100644 --- a/libmpdemux/demux_lavf.c +++ b/libmpdemux/demux_lavf.c @@ -52,7 +52,7 @@ static char *opt_format; 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}, diff --git a/libmpdemux/demux_rawaudio.c b/libmpdemux/demux_rawaudio.c index 603514d5ef..8c08f73467 100644 --- a/libmpdemux/demux_rawaudio.c +++ b/libmpdemux/demux_rawaudio.c @@ -20,7 +20,7 @@ static int samplesize = 2; static int bitrate = 0; static int format = 0x1; // Raw PCM -m_option_t demux_rawaudio_opts[] = { +const m_option_t demux_rawaudio_opts[] = { { "channels", &channels, CONF_TYPE_INT,CONF_RANGE,1,8, NULL }, { "rate", &samplerate, CONF_TYPE_INT,CONF_RANGE,1000,8*48000, NULL }, { "samplesize", &samplesize, CONF_TYPE_INT,CONF_RANGE,1,8, NULL }, diff --git a/libmpdemux/demux_rawvideo.c b/libmpdemux/demux_rawvideo.c index 48661b0d74..28bf43022d 100644 --- a/libmpdemux/demux_rawvideo.c +++ b/libmpdemux/demux_rawvideo.c @@ -22,7 +22,7 @@ static int height = 0; static float fps = 25; static int imgsize=0; -m_option_t demux_rawvideo_opts[] = { +const m_option_t demux_rawvideo_opts[] = { // size: { "w", &width, CONF_TYPE_INT,CONF_RANGE,1,8192, NULL }, { "h", &height, CONF_TYPE_INT,CONF_RANGE,1,8192, NULL }, |