summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-13 11:52:05 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-13 11:52:05 +0000
commit16f7105ffcfad469ad56ac95d8913758f404bf1a (patch)
treef622ab2d090b02bac57b1f7ded03c4c3be3dc0f5 /stream
parente351bee5a9adb1c14da8d70e948b5cdd96ea6f3c (diff)
downloadmpv-16f7105ffcfad469ad56ac95d8913758f404bf1a.tar.bz2
mpv-16f7105ffcfad469ad56ac95d8913758f404bf1a.tar.xz
Make dvd_audio_stream_types and dvd_audio_stream_channels const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25713 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_dvd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index 0c40d947b7..f32bcf2c56 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -133,8 +133,8 @@ static void dvd_set_speed(char *device, unsigned speed)
#endif
#endif
-char * dvd_audio_stream_types[8] = { "ac3","unknown","mpeg1","mpeg2ext","lpcm","unknown","dts" };
-char * dvd_audio_stream_channels[6] = { "mono", "stereo", "unknown", "unknown", "5.1/6.1", "5.1" };
+const char * const dvd_audio_stream_types[8] = { "ac3","unknown","mpeg1","mpeg2ext","lpcm","unknown","dts" };
+const char * const dvd_audio_stream_channels[6] = { "mono", "stereo", "unknown", "unknown", "5.1/6.1", "5.1" };
static struct stream_priv_s {