Mercurial > mplayer.hg
changeset 28728:c9b2f40aaf18
Make VdpVideoMixerAttribute attributes[] static const.
Suggested by Reimar.
author | cehoyos |
---|---|
date | Sat, 28 Feb 2009 15:42:17 +0000 |
parents | 36c24e376f79 |
children | bbf7f7100e91 |
files | libvo/vo_vdpau.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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"))