Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -1037,7 +1037,7 @@ static int config_output(AVFilterLink *outlink) · 1036 unmodified lines | |||
| 1037 | } | 1037 | } |
| 1038 | 1038 | ||
| 1039 | s->win_size = fft_size; | 1039 | s->win_size = fft_size; |
| 1040 | s->buf_size = FFALIGN(s->win_size << (!!s->stop), 512); | 1040 | s->buf_size = FFALIGN(s->win_size << (!!s->stop), av_cpu_max_align()); |
| 1041 | 1041 | ||
| 1042 | if (!s->fft) { | 1042 | if (!s->fft) { |
| 1043 | s->fft = av_calloc(inlink->channels, sizeof(*s->fft)); | 1043 | s->fft = av_calloc(inlink->channels, sizeof(*s->fft)); |