From 58f108741b372cbb7af055075fa121ad15a6d260 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 30 Oct 2005 08:45:24 +0000 Subject: [PATCH] 10l, uninit() was not used, fixes bug #401 Modified patch from T. Dekker (t dekker student utwente nl) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16875 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_screenshot.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libmpcodecs/vf_screenshot.c b/libmpcodecs/vf_screenshot.c index 22512243e6..78ba1cbf78 100644 --- a/libmpcodecs/vf_screenshot.c +++ b/libmpcodecs/vf_screenshot.c @@ -261,6 +261,7 @@ static int query_format(struct vf_instance_s* vf, unsigned int fmt) 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 @@ static int screenshot_open(vf_instance_t *vf, char* args) 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;