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
This commit is contained in:
reimar 2005-10-30 08:45:24 +00:00
parent b6771dfa6d
commit 58f108741b
1 changed files with 2 additions and 0 deletions

View File

@ -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;