summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_screenshot.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-10-30 08:45:24 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-10-30 08:45:24 +0000
commit58f108741b372cbb7af055075fa121ad15a6d260 (patch)
tree7271557229252a70542288f53fe707687c9bdfd5 /libmpcodecs/vf_screenshot.c
parentb6771dfa6d68c4e36402d32798a2c25c923eac6b (diff)
downloadmpv-58f108741b372cbb7af055075fa121ad15a6d260.tar.bz2
mpv-58f108741b372cbb7af055075fa121ad15a6d260.tar.xz
10l, uninit() was not used, fixes bug #401
Modified patch from T. Dekker (t dekker <at> student utwente nl) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16875 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf_screenshot.c')
-rw-r--r--libmpcodecs/vf_screenshot.c2
1 files changed, 2 insertions, 0 deletions
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;