[MPlayer-cvslog] r37715 - trunk/codec-cfg.c

reimar subversion at mplayerhq.hu
Sat Feb 13 20:00:15 CET 2016


Author: reimar
Date: Sat Feb 13 20:00:15 2016
New Revision: 37715

Log:
codec-cfg.c: Add missing const to tables.

Modified:
   trunk/codec-cfg.c

Modified: trunk/codec-cfg.c
==============================================================================
--- trunk/codec-cfg.c	Sat Feb 13 19:10:50 2016	(r37714)
+++ trunk/codec-cfg.c	Sat Feb 13 20:00:15 2016	(r37715)
@@ -266,7 +266,7 @@ static int add_to_inout(char *sfmt, char
                         unsigned char *outflags)
 {
 
-    static char *flagstr[] = {
+    static const char * const flagstr[] = {
         "flip",
         "noflip",
         "yuvhack",
@@ -464,7 +464,7 @@ static int add_comment(char *s, char **d
 
 static short get_cpuflags(char *s)
 {
-    static char *flagstr[] = {
+    static const char * const flagstr[] = {
         "mmx",
         "sse",
         "3dnow",


More information about the MPlayer-cvslog mailing list