From c3fc57f4022c104179ff348caabf007c14e82c14 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 2 Dec 2007 16:40:20 +0000 Subject: Add appropriate const specifiers to some custom parse functions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25260 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_zr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libvo') diff --git a/libvo/vo_zr.c b/libvo/vo_zr.c index 98e5d07eb2..2271be256b 100644 --- a/libvo/vo_zr.c +++ b/libvo/vo_zr.c @@ -649,7 +649,7 @@ static int draw_slice(uint8_t *srcimg[], int stride[], /* copied and adapted from vo_aa_parseoption */ int -vo_zr_parseoption(m_option_t* conf, char *opt, char *param){ +vo_zr_parseoption(const m_option_t* conf, const char *opt, const char *param){ /* got an option starting with zr */ zr_info_t *zr = &zr_info[zr_parsing]; int i; @@ -775,7 +775,7 @@ vo_zr_parseoption(m_option_t* conf, char *opt, char *param){ return ERR_NOT_AN_OPTION; } -void vo_zr_revertoption(m_option_t* opt,char* param) { +void vo_zr_revertoption(const m_option_t* opt,const char* param) { zr_info_t *zr = &zr_info[1]; zr_count = 1; -- cgit v1.2.3