Commit 3ba35a34 authored by Anton Khirnov's avatar Anton Khirnov

vf_hqdn3d: make config_props work properly when called multiple times.

Do not leak all the temp buffers.
parent 3fb29588
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment