ffmpeg | branch: master | Paul B Mahol <[email protected]> | Sun Dec 30 22:08:11 2018 +0100| [ea3a980a610e2517fcb2abe2708166a4b9f6e57d] | committer: Paul B Mahol
avfilter/af_afir: do not over allocate fft buffer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ea3a980a610e2517fcb2abe2708166a4b9f6e57d --- libavfilter/af_afir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/af_afir.c b/libavfilter/af_afir.c index 35fa66bad5..73a613f153 100644 --- a/libavfilter/af_afir.c +++ b/libavfilter/af_afir.c @@ -326,7 +326,7 @@ static int init_segment(AVFilterContext *ctx, AudioFIRSegment *seg, if (!seg->rdft || !seg->irdft) return AVERROR(ENOMEM); - seg->fft_length = part_size * 4 + 1; + seg->fft_length = part_size * 2 + 1; seg->part_size = part_size; seg->block_size = FFALIGN(seg->fft_length, 32); seg->coeff_size = FFALIGN(seg->part_size + 1, 32); _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
