longer option buffers, needed for tv options

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9814 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
henry 2003-04-03 12:41:31 +00:00
parent 6637888c97
commit f67abcab73
2 changed files with 6 additions and 6 deletions

View File

@ -863,9 +863,9 @@ int m_config_set_option(m_config_t *config,char *opt, char *param) {
int m_config_parse_config_file(m_config_t *config, char *conffile) 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 PRINT_LINENUM mp_msg(MSGT_CFGPARSER,MSGL_INFO,"%s(%d): ", conffile, line_num)
#define MAX_LINE_LEN 1000 #define MAX_LINE_LEN 10000
#define MAX_OPT_LEN 100 #define MAX_OPT_LEN 1000
#define MAX_PARAM_LEN 100 #define MAX_PARAM_LEN 1000
FILE *fp; FILE *fp;
char *line; char *line;
char opt[MAX_OPT_LEN + 1]; char opt[MAX_OPT_LEN + 1];

View File

@ -24,9 +24,9 @@ static int recursion_depth = 0;
int m_config_parse_config_file(m_config_t* config, char *conffile) 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 PRINT_LINENUM mp_msg(MSGT_CFGPARSER,MSGL_V,"%s(%d): ", conffile, line_num)
#define MAX_LINE_LEN 1000 #define MAX_LINE_LEN 10000
#define MAX_OPT_LEN 100 #define MAX_OPT_LEN 1000
#define MAX_PARAM_LEN 100 #define MAX_PARAM_LEN 1000
FILE *fp; FILE *fp;
char *line; char *line;
char opt[MAX_OPT_LEN + 1]; char opt[MAX_OPT_LEN + 1];