diff options
author | Paul B Mahol <onemda@gmail.com> | 2017-12-27 11:10:12 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-12-27 11:10:12 +0100 |
commit | 87f148d526348a591716c66c40b3c294880ffc63 (patch) | |
tree | a7212de3cb267c43e3b67cb383fa143eb2970012 | |
parent | caacbfa773fc1cc6dbeb4a47e0a5a0616fa09549 (diff) | |
download | ffmpeg-87f148d526348a591716c66c40b3c294880ffc63.tar.gz |
avfilter/vf_convolve: remove padding, its unused and not needed
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavfilter/vf_convolve.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/vf_convolve.c b/libavfilter/vf_convolve.c index d7e2305cf7..0f9970b869 100644 --- a/libavfilter/vf_convolve.c +++ b/libavfilter/vf_convolve.c @@ -121,16 +121,16 @@ static int config_input_main(AVFilterLink *inlink) s->fft_bits[i] = fft_bits; s->fft_len[i] = 1 << s->fft_bits[i]; - if (!(s->fft_hdata[i] = av_calloc(s->fft_len[i] + 1, s->fft_len[i] * sizeof(FFTComplex)))) + if (!(s->fft_hdata[i] = av_calloc(s->fft_len[i], s->fft_len[i] * sizeof(FFTComplex)))) return AVERROR(ENOMEM); - if (!(s->fft_vdata[i] = av_calloc(s->fft_len[i] + 1, s->fft_len[i] * sizeof(FFTComplex)))) + if (!(s->fft_vdata[i] = av_calloc(s->fft_len[i], s->fft_len[i] * sizeof(FFTComplex)))) return AVERROR(ENOMEM); - if (!(s->fft_hdata_impulse[i] = av_calloc(s->fft_len[i] + 1, s->fft_len[i] * sizeof(FFTComplex)))) + if (!(s->fft_hdata_impulse[i] = av_calloc(s->fft_len[i], s->fft_len[i] * sizeof(FFTComplex)))) return AVERROR(ENOMEM); - if (!(s->fft_vdata_impulse[i] = av_calloc(s->fft_len[i] + 1, s->fft_len[i] * sizeof(FFTComplex)))) + if (!(s->fft_vdata_impulse[i] = av_calloc(s->fft_len[i], s->fft_len[i] * sizeof(FFTComplex)))) return AVERROR(ENOMEM); } |