mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avfilter/vf_nnedi: Fix memleak
Fixes CID1351359 Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
331a33d74a
commit
674cc26f25
@ -1154,7 +1154,7 @@ static av_cold int init(AVFilterContext *ctx)
|
|||||||
|
|
||||||
s->fdsp = avpriv_float_dsp_alloc(0);
|
s->fdsp = avpriv_float_dsp_alloc(0);
|
||||||
if (!s->fdsp)
|
if (!s->fdsp)
|
||||||
return AVERROR(ENOMEM);
|
ret = AVERROR(ENOMEM);
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
av_free(bdata);
|
av_free(bdata);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user