ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Sat Dec 3 12:38:51 2022 +0100| [e69909342e068814c27e7c9a97a5de838c5f5f92] | committer: Paul B Mahol
avfilter/avf_showcwt: fix logic mistake > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e69909342e068814c27e7c9a97a5de838c5f5f92 --- 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 b5a4ed0554..315b8289a6 100644 --- a/libavfilter/avf_showcwt.c +++ b/libavfilter/avf_showcwt.c @@ -363,7 +363,7 @@ static int draw(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) switch (mode) { case 4: { - const AVComplexFloat *src2 = ((const AVComplexFloat *)s->ch_out->extended_data[FFMAX(1, s->nb_channels - 1)]) + + const AVComplexFloat *src2 = ((const AVComplexFloat *)s->ch_out->extended_data[FFMIN(1, s->nb_channels - 1)]) + y * ihop_size + ihop_index; float z, u, v; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".