diff libmpcodecs/vf_screenshot.c @ 16874:debd99a161e0

10l, uninit() was not used, fixes bug #401 Modified patch from T. Dekker (t dekker <at> student utwente nl)
author reimar
date Sun, 30 Oct 2005 08:45:24 +0000
parents 0a828abf1f0f
children 6ff3379a0862
line wrap: on
line diff
--- a/libmpcodecs/vf_screenshot.c	Sat Oct 29 23:45:48 2005 +0000
+++ b/libmpcodecs/vf_screenshot.c	Sun Oct 30 08:45:24 2005 +0000
@@ -261,6 +261,7 @@
     return 0;
 }
 
+static void uninit(vf_instance_t *vf);
 // open conflicts with stdio.h at least under MinGW
 static int screenshot_open(vf_instance_t *vf, char* args)
 {
@@ -271,6 +272,7 @@
     vf->start_slice=start_slice;
     vf->draw_slice=draw_slice;
     vf->get_image=get_image;
+    vf->uninit=uninit;
     vf->priv=malloc(sizeof(struct vf_priv_s));
     vf->priv->frameno=0;
     vf->priv->shot=0;