ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Tue Nov 15 09:54:02 2022 +0100| [52f7adfbdeb6f92e393486fa2533575d33d1c88f] | committer: Paul B Mahol
avfilter/af_surround: add forgotten null pointer check > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=52f7adfbdeb6f92e393486fa2533575d33d1c88f --- libavfilter/af_surround.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/af_surround.c b/libavfilter/af_surround.c index 5484dccc36..357e3eb484 100644 --- a/libavfilter/af_surround.c +++ b/libavfilter/af_surround.c @@ -333,7 +333,7 @@ static int config_output(AVFilterLink *outlink) s->mag_total = av_calloc(s->rdft_size, sizeof(*s->mag_total)); s->lfe_mag = av_calloc(s->rdft_size, sizeof(*s->lfe_mag)); if (!s->x_pos || !s->y_pos || !s->l_phase || !s->r_phase || - !s->c_phase || !s->lfe_mag) + !s->c_phase || !s->mag_total || !s->lfe_mag) return AVERROR(ENOMEM); return 0; _______________________________________________ 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".