[Mplayer-cvslog] CVS: main/libmpcodecs vf_bmovl.c,1.8,1.9

Alban Bedel CVS albeu at mplayerhq.hu
Thu Jun 26 13:17:52 CEST 2003


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv27757/libmpcodecs

Modified Files:
	vf_bmovl.c 
Log Message:
Fix SIG11 if no args given


Index: vf_bmovl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_bmovl.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- vf_bmovl.c	4 Apr 2003 20:12:24 -0000	1.8
+++ vf_bmovl.c	26 Jun 2003 11:17:28 -0000	1.9
@@ -432,7 +432,7 @@
 
     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;



More information about the MPlayer-cvslog mailing list