From f09943179133a04bdfec2a00cee4eb5e30293e2f Mon Sep 17 00:00:00 2001 From: cehoyos Date: Sat, 28 Feb 2009 15:42:17 +0000 Subject: Make VdpVideoMixerAttribute attributes[] static const. Suggested by Reimar. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28763 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_vdpau.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo') diff --git a/libvo/vo_vdpau.c b/libvo/vo_vdpau.c index 28d02f54dd..851c28e0f4 100644 --- a/libvo/vo_vdpau.c +++ b/libvo/vo_vdpau.c @@ -1050,7 +1050,7 @@ static int get_equalizer(char *name, int *value) { static int set_equalizer(char *name, int value) { VdpStatus vdp_st; VdpCSCMatrix matrix; - VdpVideoMixerAttribute attributes[] = {VDP_VIDEO_MIXER_ATTRIBUTE_CSC_MATRIX}; + static const VdpVideoMixerAttribute attributes[] = {VDP_VIDEO_MIXER_ATTRIBUTE_CSC_MATRIX}; const void *attribute_values[] = {&matrix}; if (!strcasecmp(name, "brightness")) -- cgit v1.2.3