summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-02 16:40:20 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-02 16:40:20 +0000
commitc3fc57f4022c104179ff348caabf007c14e82c14 (patch)
treec8fd9f309dbea963344e1a78f6e2764b6911c653 /libvo
parent1bf629e38ee8bbb8b908d905dfcca3933b7a5527 (diff)
downloadmpv-c3fc57f4022c104179ff348caabf007c14e82c14.tar.bz2
mpv-c3fc57f4022c104179ff348caabf007c14e82c14.tar.xz
Add appropriate const specifiers to some custom parse functions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25260 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_zr.c4
1 files changed, 2 insertions, 2 deletions
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;