diff --git a/libavfilter/vf_nnedi.c b/libavfilter/vf_nnedi.c index a1f2952369..9a98ec211e 100644 --- a/libavfilter/vf_nnedi.c +++ b/libavfilter/vf_nnedi.c @@ -1154,7 +1154,7 @@ static av_cold int init(AVFilterContext *ctx) s->fdsp = avpriv_float_dsp_alloc(0); if (!s->fdsp) - return AVERROR(ENOMEM); + ret = AVERROR(ENOMEM); fail: av_free(bdata);