# HG changeset patch # User cehoyos # Date 1235835737 0 # Node ID c9b2f40aaf18cfb1be5833d9ce0dbd91f2b67411 # Parent 36c24e376f790b00c9e73041d75a68f77d25241a Make VdpVideoMixerAttribute attributes[] static const. Suggested by Reimar. diff -r 36c24e376f79 -r c9b2f40aaf18 libvo/vo_vdpau.c --- 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"))