Mercurial > mplayer.hg
diff parser-cfg.c @ 9813:b0141de527df
longer option buffers, needed for tv options
author | henry |
---|---|
date | Thu, 03 Apr 2003 12:41:31 +0000 |
parents | 0c5454233dcf |
children | a660de2556c2 |
line wrap: on
line diff
--- 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];