Mercurial > mplayer.hg
diff m_option.h @ 36765:97446d4850cc
m_option, vf_scale: Add some missing const.
author | reimar |
---|---|
date | Sun, 16 Feb 2014 16:29:59 +0000 |
parents | 1495455e6d22 |
children |
line wrap: on
line diff
--- a/m_option.h Sun Feb 16 16:29:58 2014 +0000 +++ b/m_option.h Sun Feb 16 16:29:59 2014 +0000 @@ -122,13 +122,13 @@ /// Extra definition needed for \ref m_option_type_obj_presets options. typedef struct { /// Description of the struct holding the presets. - struct m_struct_st* in_desc; + const struct m_struct_st* in_desc; /// Description of the struct that should be set by the presets. - struct m_struct_st* out_desc; + const struct m_struct_st* out_desc; /// Pointer to an array of structs defining the various presets. - void* presets; + const void* presets; /// Offset of the preset's name inside the in_struct. - void* name_off; + const void* name_off; } m_obj_presets_t; /// Set several fields in a struct at once.