mirror of
https://github.com/mpv-player/mpv
synced 2025-02-17 04:58:06 +00:00
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:
parent
b6771dfa6d
commit
58f108741b
@ -261,6 +261,7 @@ static int query_format(struct vf_instance_s* vf, unsigned int fmt)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void uninit(vf_instance_t *vf);
|
||||||
// open conflicts with stdio.h at least under MinGW
|
// open conflicts with stdio.h at least under MinGW
|
||||||
static int screenshot_open(vf_instance_t *vf, char* args)
|
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->start_slice=start_slice;
|
||||||
vf->draw_slice=draw_slice;
|
vf->draw_slice=draw_slice;
|
||||||
vf->get_image=get_image;
|
vf->get_image=get_image;
|
||||||
|
vf->uninit=uninit;
|
||||||
vf->priv=malloc(sizeof(struct vf_priv_s));
|
vf->priv=malloc(sizeof(struct vf_priv_s));
|
||||||
vf->priv->frameno=0;
|
vf->priv->frameno=0;
|
||||||
vf->priv->shot=0;
|
vf->priv->shot=0;
|
||||||
|
Loading…
Reference in New Issue
Block a user