diff options
author | ods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-28 09:50:22 +0000 |
---|---|---|
committer | ods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-28 09:50:22 +0000 |
commit | 6355be18bd92aef1d7c221b4d566f8e30aead7c8 (patch) | |
tree | 28bb6c339951101e691994431cac4cbbb0fc35c6 /libmpcodecs/vf_geq.c | |
parent | de8cb3f35a186fba001f42870c2b6ce82edc4050 (diff) | |
download | mpv-6355be18bd92aef1d7c221b4d566f8e30aead7c8.tar.bz2 mpv-6355be18bd92aef1d7c221b4d566f8e30aead7c8.tar.xz |
make vf_geq read whitespace in equation param
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20482 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf_geq.c')
-rw-r--r-- | libmpcodecs/vf_geq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/vf_geq.c b/libmpcodecs/vf_geq.c index d8edc05b9b..e3230d2c8f 100644 --- a/libmpcodecs/vf_geq.c +++ b/libmpcodecs/vf_geq.c @@ -176,7 +176,7 @@ static int open(vf_instance_t *vf, char* args){ 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); |