mirror of
https://github.com/mpv-player/mpv
synced 2024-12-18 12:55:16 +00:00
Fix SIG11 if no args given
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10338 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
69063f84ad
commit
ba4aeeb473
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user