[Mplayer-cvslog] CVS: main/libmpcodecs vf_field.c,1.1,1.2

Richard Felker CVS rfelker at mplayerhq.hu
Sun Feb 16 08:05:42 CET 2003


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

Modified Files:
	vf_field.c 
Log Message:
minor 1l I forgot to commit a while back


Index: vf_field.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_field.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- vf_field.c	23 Jan 2003 16:33:57 -0000	1.1
+++ vf_field.c	16 Feb 2003 07:05:24 -0000	1.2
@@ -51,11 +51,15 @@
 
 //===========================================================================//
 
-// FIXME - do we need to free dmpi on uninit?
+static void uninit(struct vf_instance_s* vf)
+{
+	free(vf->priv);
+}
 
 static int open(vf_instance_t *vf, char* args){
     vf->config=config;
     vf->put_image=put_image;
+    vf->uninit=uninit;
     vf->default_reqs=VFCAP_ACCEPT_STRIDE;
     vf->priv=calloc(1, sizeof(struct vf_priv_s));
     if (args) sscanf(args, "%d", &vf->priv->field);



More information about the MPlayer-cvslog mailing list