mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
vf_hqdn3d: make config_props work properly when called multiple times.
Do not leak all the temp buffers.
This commit is contained in:
parent
3fb29588a2
commit
3ba35a346c
1 changed files with 2 additions and 0 deletions
|
|
@ -252,6 +252,8 @@ static int config_input(AVFilterLink *inlink)
|
|||
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format);
|
||||
int i;
|
||||
|
||||
uninit(inlink->dst);
|
||||
|
||||
s->hsub = desc->log2_chroma_w;
|
||||
s->vsub = desc->log2_chroma_h;
|
||||
s->depth = desc->comp[0].depth_minus1+1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue