# HG changeset patch # User reimar # Date 1304796040 0 # Node ID 53c8dd0ab05733950db9adabb27d4c8ccb91c917 # Parent efc3594f1f078e37275065e4a69be35f72176638 Another equalizer-related const-warning fix. diff -r efc3594f1f07 -r 53c8dd0ab057 libvo/vo_vdpau.c --- a/libvo/vo_vdpau.c Sat May 07 19:19:35 2011 +0000 +++ b/libvo/vo_vdpau.c Sat May 07 19:20:40 2011 +0000 @@ -1283,7 +1283,7 @@ 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 @@ 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;