[FFmpeg-devel] [PATCH] avfilter/vf_nnedi: Fix memleak
Paul B Mahol
onemda at gmail.com
Tue Feb 9 13:53:22 CET 2016
On 2/9/16, Michael Niedermayer <michael at niedermayer.cc> wrote:
> Fixes CID1351359
>
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
> libavfilter/vf_nnedi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavfilter/vf_nnedi.c b/libavfilter/vf_nnedi.c
> index a1f2952..9a98ec2 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);
>
ok
More information about the ffmpeg-devel
mailing list