mirror of
https://github.com/mpv-player/mpv
synced 2025-01-19 05:41:16 +00:00
minor 1l I forgot to commit a while back
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9444 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3516fe861d
commit
239b0acd20
@ -51,11 +51,15 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){
|
||||
|
||||
//===========================================================================//
|
||||
|
||||
// FIXME - do we need to free dmpi on uninit?
|
||||
static void uninit(struct vf_instance_s* vf)
|
||||
{
|
||||
free(vf->priv);
|
||||
}
|
||||
|
||||
static int open(vf_instance_t *vf, char* args){
|
||||
vf->config=config;
|
||||
vf->put_image=put_image;
|
||||
vf->uninit=uninit;
|
||||
vf->default_reqs=VFCAP_ACCEPT_STRIDE;
|
||||
vf->priv=calloc(1, sizeof(struct vf_priv_s));
|
||||
if (args) sscanf(args, "%d", &vf->priv->field);
|
||||
|
Loading…
Reference in New Issue
Block a user