ffmpeg | branch: master | Ashyni <[email protected]> | Fri Jan 27 14:46:07 2023 
+0100| [6869a80e76f7f597896e60a0feaa7a32b1aa57ae] | committer: Paul B Mahol

avfilter/vf_cropdetect: fix type for old_limit

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6869a80e76f7f597896e60a0feaa7a32b1aa57ae
---

 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..588a38fed8 100644
--- a/libavfilter/vf_cropdetect.c
+++ b/libavfilter/vf_cropdetect.c
@@ -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;

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to