diff options
author | wm4 <wm4@nowhere> | 2014-02-03 21:58:51 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-03 22:01:09 +0100 |
commit | d03111c5be3d41cb25a3196addb21dc49ef2f580 (patch) | |
tree | 3b2285bb4834dbae4b910efc1eba0f7a406c6235 /video/csputils.h | |
parent | 44bfe3b14acf80abbdf9d0280de2fc6f9c7cad6b (diff) | |
download | mpv-d03111c5be3d41cb25a3196addb21dc49ef2f580.tar.bz2 mpv-d03111c5be3d41cb25a3196addb21dc49ef2f580.tar.xz |
csputils: correct constness of csp name constants
Diffstat (limited to 'video/csputils.h')
-rw-r--r-- | video/csputils.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/video/csputils.h b/video/csputils.h index 2a0f2e14fb..6ae26124c5 100644 --- a/video/csputils.h +++ b/video/csputils.h @@ -44,7 +44,7 @@ enum mp_csp { }; // Any enum mp_csp value is a valid index (except MP_CSP_COUNT) -extern char * const mp_csp_names[MP_CSP_COUNT]; +extern const char *const mp_csp_names[MP_CSP_COUNT]; enum mp_csp_levels { MP_CSP_LEVELS_AUTO, @@ -54,7 +54,7 @@ enum mp_csp_levels { }; // Any enum mp_csp_levels value is a valid index (except MP_CSP_LEVELS_COUNT) -extern char * const mp_csp_levels_names[MP_CSP_LEVELS_COUNT]; +extern const char *const mp_csp_levels_names[MP_CSP_LEVELS_COUNT]; struct mp_csp_details { enum mp_csp format; @@ -111,7 +111,7 @@ enum mp_csp_equalizer_param { #define MP_CSP_EQ_CAPS_GAMMA (1 << MP_CSP_EQ_GAMMA) -extern char * const mp_csp_equalizer_names[MP_CSP_EQ_COUNT]; +extern const char *const mp_csp_equalizer_names[MP_CSP_EQ_COUNT]; // Default initialization with 0 is enough, except for the capabilities field struct mp_csp_equalizer { |