From a1391cb942f81abe4a567acda0844ba80529aa9c Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 21 Sep 2019 21:35:39 +0200 Subject: [PATCH] avfilter/vf_v360: fix comparison with float value --- libavfilter/vf_v360.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_v360.c b/libavfilter/vf_v360.c index fbaa1c4f89..8339998454 100644 --- a/libavfilter/vf_v360.c +++ b/libavfilter/vf_v360.c @@ -2093,7 +2093,7 @@ static void xyz_to_dfisheye(const V360Context *s, int ui, vi; int u_shift; - if (vec[2] >= 0) { + if (vec[2] >= 0.f) { u_shift = 0; } else { u_shift = ceilf(ew);