ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Wed Sep 8 20:59:08 2021 +0200| [5db1e07a62e29da4c212a4a4536c570d06f3d102] | committer: Paul B Mahol
avfilter/af_speechnorm: check return value of av_frame_make_writable() > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5db1e07a62e29da4c212a4a4536c570d06f3d102 --- libavfilter/af_speechnorm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavfilter/af_speechnorm.c b/libavfilter/af_speechnorm.c index 0d1c6bd25d..fa56276e1d 100644 --- a/libavfilter/af_speechnorm.c +++ b/libavfilter/af_speechnorm.c @@ -410,7 +410,9 @@ static int filter_frame(AVFilterContext *ctx) in = ff_bufqueue_get(&s->queue); - av_frame_make_writable(in); + ret = av_frame_make_writable(in); + if (ret < 0) + return ret; s->filter_channels[s->link](ctx, in, in->nb_samples); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".