diff options
author | cehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-28 15:42:17 +0000 |
---|---|---|
committer | cehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-28 15:42:17 +0000 |
commit | f09943179133a04bdfec2a00cee4eb5e30293e2f (patch) | |
tree | 6b871843e7f30dcdd16786ff32a61ca241493f7d | |
parent | 8a70695df94f684e979c1e449aa2b77880c971e8 (diff) | |
download | mpv-f09943179133a04bdfec2a00cee4eb5e30293e2f.tar.bz2 mpv-f09943179133a04bdfec2a00cee4eb5e30293e2f.tar.xz |
Make VdpVideoMixerAttribute attributes[] static const.
Suggested by Reimar.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28763 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/vo_vdpau.c | 2 |
1 files changed, 1 insertions, 1 deletions
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")) |