Mercurial > mplayer.hg
changeset 9813:b0141de527df
longer option buffers, needed for tv options
author | henry |
---|---|
date | Thu, 03 Apr 2003 12:41:31 +0000 |
parents | 22092ed814ad |
children | 27be2a58e9ec |
files | cfgparser.c parser-cfg.c |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/cfgparser.c Thu Apr 03 12:09:44 2003 +0000 +++ b/cfgparser.c Thu Apr 03 12:41:31 2003 +0000 @@ -863,9 +863,9 @@ int m_config_parse_config_file(m_config_t *config, char *conffile) { #define PRINT_LINENUM mp_msg(MSGT_CFGPARSER,MSGL_INFO,"%s(%d): ", conffile, line_num) -#define MAX_LINE_LEN 1000 -#define MAX_OPT_LEN 100 -#define MAX_PARAM_LEN 100 +#define MAX_LINE_LEN 10000 +#define MAX_OPT_LEN 1000 +#define MAX_PARAM_LEN 1000 FILE *fp; char *line; char opt[MAX_OPT_LEN + 1];
--- a/parser-cfg.c Thu Apr 03 12:09:44 2003 +0000 +++ b/parser-cfg.c Thu Apr 03 12:41:31 2003 +0000 @@ -24,9 +24,9 @@ int m_config_parse_config_file(m_config_t* config, char *conffile) { #define PRINT_LINENUM mp_msg(MSGT_CFGPARSER,MSGL_V,"%s(%d): ", conffile, line_num) -#define MAX_LINE_LEN 1000 -#define MAX_OPT_LEN 100 -#define MAX_PARAM_LEN 100 +#define MAX_LINE_LEN 10000 +#define MAX_OPT_LEN 1000 +#define MAX_PARAM_LEN 1000 FILE *fp; char *line; char opt[MAX_OPT_LEN + 1];