This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 573207553589765bed4cd3727fe184864ea1559b
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sun Oct 11 00:01:08 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Mon Oct 12 00:42:48 2026 +0000

    avfilter/vf_colordetect: derive the slice count from the frame height
---
 libavfilter/vf_colordetect.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_colordetect.c b/libavfilter/vf_colordetect.c
index f98905b6c6..d1a7ba6f49 100644
--- a/libavfilter/vf_colordetect.c
+++ b/libavfilter/vf_colordetect.c
@@ -218,7 +218,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
 {
     AVFilterContext *ctx = inlink->dst;
     ColorDetectContext *s = ctx->priv;
-    const int nb_threads = FFMIN(inlink->h, s->nb_threads);
+    const int nb_threads = FFMIN(in->height, s->nb_threads);
 
     enum AVColorRange detected_range = 
atomic_load_explicit(&s->detected_range, memory_order_relaxed);
     if (s->mode & COLOR_DETECT_COLOR_RANGE && detected_range == 
AVCOL_RANGE_UNSPECIFIED)

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to