[Mplayer-cvslog] CVS: main cfgparser.c,1.62,1.63 parser-cfg.c,1.2,1.3

Jindrich Makovicka CVS henry at mplayerhq.hu
Thu Apr 3 14:41:55 CEST 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv3650

Modified Files:
	cfgparser.c parser-cfg.c 
Log Message:
longer option buffers, needed for tv options

Index: cfgparser.c
===================================================================
RCS file: /cvsroot/mplayer/main/cfgparser.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- cfgparser.c	6 Dec 2002 17:11:50 -0000	1.62
+++ cfgparser.c	3 Apr 2003 12:41:31 -0000	1.63
@@ -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];

Index: parser-cfg.c
===================================================================
RCS file: /cvsroot/mplayer/main/parser-cfg.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- parser-cfg.c	13 Mar 2003 14:09:49 -0000	1.2
+++ parser-cfg.c	3 Apr 2003 12:41:31 -0000	1.3
@@ -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];



More information about the MPlayer-cvslog mailing list