[MPlayer-cvslog] r25838 - trunk/libvo/vo_zr2.c

reimar subversion at mplayerhq.hu
Wed Jan 23 19:54:14 CET 2008


Author: reimar
Date: Wed Jan 23 19:54:14 2008
New Revision: 25838

Log:
Add a few const attributes


Modified:
   trunk/libvo/vo_zr2.c

Modified: trunk/libvo/vo_zr2.c
==============================================================================
--- trunk/libvo/vo_zr2.c	(original)
+++ trunk/libvo/vo_zr2.c	Wed Jan 23 19:54:14 2008
@@ -81,7 +81,7 @@ static void stop_playing(vo_zr2_priv_t *
 static const char *guess_device(const char *suggestion, int inform) {
 	struct stat vstat;
 	int res;
-	char *devs[] = {
+	static const char * const devs[] = {
 		"/dev/video",
 		"/dev/video0",
 		"/dev/v4l/video0",
@@ -89,7 +89,7 @@ static const char *guess_device(const ch
 		"/dev/v4l",
 		NULL
 	};
-	char **dev = devs;
+	const char * const *dev = devs;
 
 	if (suggestion) {
 		if (!*suggestion) {



More information about the MPlayer-cvslog mailing list