From 704b774ae0290dd8f2f30ba7c6f7427d0c6180c6 Mon Sep 17 00:00:00 2001 From: Derek Buitenhuis Date: Thu, 6 Jul 2017 13:45:13 -0400 Subject: [PATCH] af_tempo: Add missing error check Signed-off-by: Derek Buitenhuis --- libavfilter/af_atempo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/af_atempo.c b/libavfilter/af_atempo.c index 76410221d6..944df1dd32 100644 --- a/libavfilter/af_atempo.c +++ b/libavfilter/af_atempo.c @@ -1148,6 +1148,8 @@ static int request_frame(AVFilterLink *outlink) if (n_out) { ret = push_samples(atempo, outlink, n_out); + if (ret < 0) + return ret; } }