Mercurial > mplayer.hg
diff libvo/vo_zr.c @ 10594:57bdcdb061d7
Removed the historic cfgparser and switched full to the new config parser (altought some macros still remain for compatibility). As a side effect 90% of the warning messages are gone from the core. Things should be cleaner now and less confusing for newbies.
author | alex |
---|---|
date | Wed, 13 Aug 2003 16:29:32 +0000 |
parents | 2e9b7465d242 |
children | 3136605e6cab |
line wrap: on
line diff
--- a/libvo/vo_zr.c Wed Aug 13 16:01:53 2003 +0000 +++ b/libvo/vo_zr.c Wed Aug 13 16:29:32 2003 +0000 @@ -25,7 +25,7 @@ #include "video_out.h" #include "video_out_internal.h" #include "../mp_msg.h" -#include "../cfgparser.h" +#include "../m_option.h" #include "fastmemcpy.h" #include "jpeg_enc.h" @@ -644,7 +644,7 @@ /* copied and adapted from vo_aa_parseoption */ int -vo_zr_parseoption(struct config * conf, char *opt, char *param){ +vo_zr_parseoption(m_option_t* conf, char *opt, char *param){ /* got an option starting with zr */ zr_info_t *zr = &zr_info[zr_parsing]; int i; @@ -780,7 +780,7 @@ return ERR_NOT_AN_OPTION; } -void vo_zr_revertoption(config_t* opt,char* param) { +void vo_zr_revertoption(m_option_t* opt,char* param) { zr_info_t *zr = &zr_info[1]; zr_count = 1;