diff options
author | Paul B Mahol <onemda@gmail.com> | 2019-09-21 21:35:39 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-09-21 21:35:39 +0200 |
commit | a1391cb942f81abe4a567acda0844ba80529aa9c (patch) | |
tree | b5a828dc42b1cddb1180d0f526ef7cb3479bcfc8 /libavfilter | |
parent | 073d22696e3e1afda3c2cc786a94caadb30d5b5f (diff) |
avfilter/vf_v360: fix comparison with float value
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_v360.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |