patch attached.
From 555e1a9f45c99a3e3d15225c17bd98d52855a03d Mon Sep 17 00:00:00 2001
From: Ashyni <jeffre...@tuta.io>
Date: Fri, 27 Jan 2023 14:20:50 +0100
Subject: [PATCH] avfilter/vf_cropdetect: fix type for old_limit
Signed-off-by: Ashyni <jeffre...@tuta.io>
---
libavfilter/vf_cropdetect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_cropdetect.c b/libavfilter/vf_cropdetect.c
index 724047f864..56457ee90b 100644
--- a/libavfilter/vf_cropdetect.c
+++ b/libavfilter/vf_cropdetect.c
@@ -448,7 +448,7 @@ static int process_command(AVFilterContext *ctx, const char
*cmd, const char *ar
{
CropDetectContext *s = ctx->priv;
int ret;
- int old_limit = s->limit;
+ float old_limit = s->limit;
if ((ret = ff_filter_process_command(ctx, cmd, args, res, res_len, flags))
< 0)
return ret;
--
2.34.1
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".