diff cfgparser.c @ 7145:3854945aefbb

new mencoder option -info, to store copyright, title, encoder version etc in AVI based on patch by "Andriy N. Gritsenko" <andrej@lucky.net>
author arpi
date Thu, 29 Aug 2002 20:50:49 +0000
parents 79187bd813a6
children 22beff6edf75
line wrap: on
line diff
--- a/cfgparser.c	Thu Aug 29 20:21:59 2002 +0000
+++ b/cfgparser.c	Thu Aug 29 20:50:49 2002 +0000
@@ -707,7 +707,7 @@
 			    /* clear out */
 			    subopt[0] = subparam[0] = 0;
 			    
-			    sscanf_ret = sscanf(token, "%[^=]=%s", subopt, subparam);
+			    sscanf_ret = sscanf(token, "%[^=]=%[^:]", subopt, subparam);
 
 			    mp_msg(MSGT_CFGPARSER, MSGL_DBG3, "token: '%s', i=%d, subopt='%s', subparam='%s' (ret: %d)\n", token, i, subopt, subparam, sscanf_ret);
 			    switch(sscanf_ret)