[FFmpeg-cvslog] avfilter/vaf_spectrumsynth: check return code

Paul B Mahol git at videolan.org
Tue Aug 16 17:02:12 EEST 2016


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Aug 16 16:01:35 2016 +0200| [a2c40931c80d8a6081b17df5968715d41b10b057] | committer: Paul B Mahol

avfilter/vaf_spectrumsynth: check return code

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

 libavfilter/vaf_spectrumsynth.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/vaf_spectrumsynth.c b/libavfilter/vaf_spectrumsynth.c
index ee394b4..ed191a3 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;
             }
         }
     }



More information about the ffmpeg-cvslog mailing list