af_tempo: Add missing error check
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Thu, 6 Jul 2017 17:45:13 +0000 (13:45 -0400)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Fri, 7 Jul 2017 19:24:49 +0000 (15:24 -0400)
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavfilter/af_atempo.c

index 7641022..944df1d 100644 (file)
@@ -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;
             }
         }