diff libvo/vo_vdpau.c @ 28728:c9b2f40aaf18

Make VdpVideoMixerAttribute attributes[] static const. Suggested by Reimar.
author cehoyos
date Sat, 28 Feb 2009 15:42:17 +0000
parents b9c26620ada7
children bbf7f7100e91
line wrap: on
line diff
--- a/libvo/vo_vdpau.c	Sat Feb 28 15:40:20 2009 +0000
+++ b/libvo/vo_vdpau.c	Sat Feb 28 15:42:17 2009 +0000
@@ -1050,7 +1050,7 @@
 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"))