[MPlayer-cvslog] r25713 - trunk/stream/stream_dvd.c

reimar subversion at mplayerhq.hu
Sun Jan 13 12:52:05 CET 2008


Author: reimar
Date: Sun Jan 13 12:52:05 2008
New Revision: 25713

Log:
Make dvd_audio_stream_types and dvd_audio_stream_channels const


Modified:
   trunk/stream/stream_dvd.c

Modified: trunk/stream/stream_dvd.c
==============================================================================
--- trunk/stream/stream_dvd.c	(original)
+++ trunk/stream/stream_dvd.c	Sun Jan 13 12:52:05 2008
@@ -133,8 +133,8 @@ static void dvd_set_speed(char *device, 
 #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 {



More information about the MPlayer-cvslog mailing list