diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2017-07-06 13:45:13 -0400 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2017-07-07 15:24:49 -0400 |
commit | 704b774ae0290dd8f2f30ba7c6f7427d0c6180c6 (patch) | |
tree | 20f6a0763a7b6b18b6aa9993c3c711be363dc2ac | |
parent | b603ef0870f3c7f10cdea6d8b16cb0115b0775db (diff) | |
download | ffmpeg-704b774ae0290dd8f2f30ba7c6f7427d0c6180c6.tar.gz |
af_tempo: Add missing error check
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-rw-r--r-- | libavfilter/af_atempo.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } } |