old_limit is of type float like limit, sorry about that.
Signed-off-by: Ashyni <[email protected]>
---
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
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".