Mercurial > mplayer.hg
changeset 33320:53c8dd0ab057
Another equalizer-related const-warning fix.
author | reimar |
---|---|
date | Sat, 07 May 2011 19:20:40 +0000 |
parents | efc3594f1f07 |
children | 96bd14d567b7 |
files | libvo/vo_vdpau.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;