diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-06-26 11:17:28 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-06-26 11:17:28 +0000 |
commit | ba4aeeb47375fa3ae14e83e09f823dc8012ea29d (patch) | |
tree | 7b0a3f9cf357e8d4d65e1465eb6e19a2a2997dc4 /libmpcodecs | |
parent | 69063f84ad39558289978d46b6d7da4a452d207f (diff) |
Fix SIG11 if no args given
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10338 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/vf_bmovl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/vf_bmovl.c b/libmpcodecs/vf_bmovl.c index 3db48d6dd9..87111594c2 100644 --- a/libmpcodecs/vf_bmovl.c +++ b/libmpcodecs/vf_bmovl.c @@ -432,7 +432,7 @@ vf_open(vf_instance_t* vf, char* args) vf->priv = malloc(sizeof(struct vf_priv_s)); - if( sscanf(args, "%d:%d:%s", &vf->priv->hidden, &vf->priv->opaque, filename) < 3 ) { + if(!args || sscanf(args, "%d:%d:%s", &vf->priv->hidden, &vf->priv->opaque, filename) < 3 ) { mp_msg(MSGT_VFILTER, MSGL_ERR, "vf_bmovl: Bad arguments!\n"); mp_msg(MSGT_VFILTER, MSGL_ERR, "vf_bmovl: Arguments are 'bool hidden:bool opaque:string fifo'\n"); return FALSE; |