[FFmpeg-cvslog] avfilter/avf_showcwt: unbreak highest frequencies
Paul B Mahol
git at videolan.org
Fri Jul 28 23:27:09 EEST 2023
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Jul 28 22:25:22 2023 +0200| [7d6dd90f3aa89601700c443910c7d1fff306e1c3] | committer: Paul B Mahol
avfilter/avf_showcwt: unbreak highest frequencies
The kernel was truncated too much.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7d6dd90f3aa89601700c443910c7d1fff306e1c3
---
libavfilter/avf_showcwt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/avf_showcwt.c b/libavfilter/avf_showcwt.c
index 1bf874c97b..7a8c108906 100644
--- a/libavfilter/avf_showcwt.c
+++ b/libavfilter/avf_showcwt.c
@@ -631,7 +631,7 @@ static int compute_kernel(AVFilterContext *ctx)
{
ShowCWTContext *s = ctx->priv;
const float correction = s->input_padding_size / (float)s->input_sample_count;
- const int size = s->input_sample_count;
+ const int size = s->input_padding_size;
const int output_sample_count = s->output_sample_count;
const int fsize = s->frequency_band_count;
int *kernel_start = s->kernel_start;
More information about the ffmpeg-cvslog
mailing list