[FFmpeg-cvslog] af_tempo: Add missing error check

Derek Buitenhuis git at videolan.org
Fri Jul 7 22:33:28 EEST 2017


ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Thu Jul  6 13:45:13 2017 -0400| [704b774ae0290dd8f2f30ba7c6f7427d0c6180c6] | committer: Derek Buitenhuis

af_tempo: Add missing error check

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=704b774ae0290dd8f2f30ba7c6f7427d0c6180c6
---

 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;
             }
         }
 



More information about the ffmpeg-cvslog mailing list