ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Wed Aug 4 10:09:39 2021 +0200| [16b4331bd106e5cb47f8d2dcd098c3dfc022bc34] | committer: Paul B Mahol
avfilter/avf_showspectrum: use proper function return value instead of hardcoded number > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=16b4331bd106e5cb47f8d2dcd098c3dfc022bc34 --- libavfilter/avf_showspectrum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showspectrum.c index 8aa6c668fa..9f3ade36f4 100644 --- a/libavfilter/avf_showspectrum.c +++ b/libavfilter/avf_showspectrum.c @@ -1037,7 +1037,7 @@ static int config_output(AVFilterLink *outlink) } s->win_size = fft_size; - s->buf_size = FFALIGN(s->win_size << (!!s->stop), 512); + s->buf_size = FFALIGN(s->win_size << (!!s->stop), av_cpu_max_align()); if (!s->fft) { s->fft = av_calloc(inlink->channels, sizeof(*s->fft)); _______________________________________________ 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".