mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-27 01:01:07 +00:00
avfilter/avf_showcwt: fix index storing
This commit is contained in:
parent
86a1904f41
commit
74474a551b
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user