[MPlayer-cvslog] r20482 - trunk/libmpcodecs/vf_geq.c
ods15
subversion at mplayerhq.hu
Sat Oct 28 11:50:22 CEST 2006
Author: ods15
Date: Sat Oct 28 11:50:22 2006
New Revision: 20482
Modified:
trunk/libmpcodecs/vf_geq.c
Log:
make vf_geq read whitespace in equation param
Modified: trunk/libmpcodecs/vf_geq.c
==============================================================================
--- trunk/libmpcodecs/vf_geq.c (original)
+++ trunk/libmpcodecs/vf_geq.c Sat Oct 28 11:50:22 2006
@@ -176,7 +176,7 @@
vf->priv=av_malloc(sizeof(struct vf_priv_s));
memset(vf->priv, 0, sizeof(struct vf_priv_s));
- if (args) sscanf(args, "%1999s:%1999s:%1999s", eq[0], eq[1], eq[2]);
+ if (args) sscanf(args, "%1999[^:]:%1999[^:]:%1999[^:]", eq[0], eq[1], eq[2]);
if (!eq[1][0]) strncpy(eq[1], eq[0], sizeof(eq[0])-1);
if (!eq[2][0]) strncpy(eq[2], eq[1], sizeof(eq[0])-1);
More information about the MPlayer-cvslog
mailing list