[MPlayer-cvslog] r28763 - trunk/libvo/vo_vdpau.c
cehoyos
subversion at mplayerhq.hu
Sat Feb 28 16:42:17 CET 2009
Author: cehoyos
Date: Sat Feb 28 16:42:17 2009
New Revision: 28763
Log:
Make VdpVideoMixerAttribute attributes[] static const.
Patch by Reimar
Modified:
trunk/libvo/vo_vdpau.c
Modified: trunk/libvo/vo_vdpau.c
==============================================================================
--- trunk/libvo/vo_vdpau.c Sat Feb 28 16:40:20 2009 (r28762)
+++ trunk/libvo/vo_vdpau.c Sat Feb 28 16:42:17 2009 (r28763)
@@ -1050,7 +1050,7 @@ static int get_equalizer(char *name, int
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"))
More information about the MPlayer-cvslog
mailing list