Commit a1391cb9 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_v360: fix comparison with float value

parent 073d2269
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment