avfilter/vf_cropdetect: fix type for old_limit

This commit is contained in:
Ashyni 2023-01-27 14:46:07 +01:00 committed by Paul B Mahol
parent c0bc804e55
commit 6869a80e76

View File

@ -447,8 +447,8 @@ static int process_command(AVFilterContext *ctx, const char *cmd, const char *ar
char *res, int res_len, int flags)
{
CropDetectContext *s = ctx->priv;
float old_limit = s->limit;
int ret;
int old_limit = s->limit;
if ((ret = ff_filter_process_command(ctx, cmd, args, res, res_len, flags)) < 0)
return ret;