diff options
author | Paul B Mahol <onemda@gmail.com> | 2023-07-21 00:28:01 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2023-07-21 00:44:01 +0200 |
commit | 74474a551b63f778776e94d094c5ea55c3639b9b (patch) | |
tree | fb1e57d87aa3e7a5133792812cc7e8370a5a7957 /libavfilter/avf_showcwt.c | |
parent | 86a1904f417cdbeac48f4def86cd51e9b29d1ed1 (diff) | |
download | ffmpeg-74474a551b63f778776e94d094c5ea55c3639b9b.tar.gz |
avfilter/avf_showcwt: fix index storing
Diffstat (limited to 'libavfilter/avf_showcwt.c')
-rw-r--r-- | libavfilter/avf_showcwt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_showcwt.c b/libavfilter/avf_showcwt.c index 51a45ef636..ee0d697e1e 100644 --- a/libavfilter/avf_showcwt.c +++ b/libavfilter/avf_showcwt.c @@ -662,7 +662,7 @@ static void compute_kernel(AVFilterContext *ctx) for (int n = 0; n < size; n++) { if (kernel[size - n - 1].re != 0.f) { - kernel_stop[y] = size - n; + kernel_stop[y] = size - n - 1; break; } } |