mirror of
https://github.com/mpv-player/mpv
synced 2025-02-08 07:57:19 +00:00
video/filter: fix some bogus free() calls
The generic filter code frees these; recent regression.
This commit is contained in:
parent
84cfe0d8b2
commit
f6e68b33bc
@ -363,9 +363,6 @@ static void uninit(struct vf_instance *vf){
|
||||
|
||||
av_free(vf->priv->lumaParam.noise);
|
||||
vf->priv->lumaParam.noise= NULL;
|
||||
|
||||
free(vf->priv);
|
||||
vf->priv=NULL;
|
||||
}
|
||||
|
||||
//===========================================================================//
|
||||
|
@ -237,7 +237,6 @@ static void uninit(struct vf_instance *vf)
|
||||
free(vf->priv->buf[0]);
|
||||
free(vf->priv->buf[1]);
|
||||
free(vf->priv->buf[2]);
|
||||
free(vf->priv);
|
||||
}
|
||||
|
||||
static int query_format(struct vf_instance *vf, unsigned int fmt)
|
||||
|
@ -262,7 +262,6 @@ static int config(struct vf_instance *vf,
|
||||
static void uninit(struct vf_instance *vf)
|
||||
{
|
||||
pullup_free_context(vf->priv->ctx);
|
||||
free(vf->priv);
|
||||
}
|
||||
|
||||
static int control(vf_instance_t *vf, int request, void *data)
|
||||
|
@ -201,9 +201,6 @@ static void uninit( struct vf_instance *vf ) {
|
||||
av_free( fp->SC[z] );
|
||||
fp->SC[z] = NULL;
|
||||
}
|
||||
|
||||
free( vf->priv );
|
||||
vf->priv = NULL;
|
||||
}
|
||||
|
||||
//===========================================================================//
|
||||
|
Loading…
Reference in New Issue
Block a user