From a2c40931c80d8a6081b17df5968715d41b10b057 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 16 Aug 2016 16:01:35 +0200 Subject: [PATCH] avfilter/vaf_spectrumsynth: check return code --- libavfilter/vaf_spectrumsynth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/vaf_spectrumsynth.c b/libavfilter/vaf_spectrumsynth.c index ee394b49e3..ed191a3e34 100644 --- a/libavfilter/vaf_spectrumsynth.c +++ b/libavfilter/vaf_spectrumsynth.c @@ -419,6 +419,8 @@ static int try_push_frame(AVFilterContext *ctx, int x) } ret = ff_filter_frame(outlink, out); + if (ret < 0) + return ret; } } }