[MPlayer-cvslog] r33407 - trunk/libvo/vo_vdpau.c

reimar subversion at mplayerhq.hu
Sat May 7 21:20:41 CEST 2011


Author: reimar
Date: Sat May  7 21:20:40 2011
New Revision: 33407

Log:
Another equalizer-related const-warning fix.

Modified:
   trunk/libvo/vo_vdpau.c

Modified: trunk/libvo/vo_vdpau.c
==============================================================================
--- trunk/libvo/vo_vdpau.c	Sat May  7 21:19:35 2011	(r33406)
+++ trunk/libvo/vo_vdpau.c	Sat May  7 21:20:40 2011	(r33407)
@@ -1283,7 +1283,7 @@ static int preinit(const char *arg)
     return 0;
 }
 
-static int get_equalizer(char *name, int *value)
+static int get_equalizer(const char *name, int *value)
 {
     if (!strcasecmp(name, "brightness"))
         *value = procamp.brightness * 100;
@@ -1298,7 +1298,7 @@ static int get_equalizer(char *name, int
     return VO_TRUE;
 }
 
-static int set_equalizer(char *name, int value)
+static int set_equalizer(const char *name, int value)
 {
     if (!strcasecmp(name, "brightness"))
         procamp.brightness = value / 100.0;


More information about the MPlayer-cvslog mailing list