avfilter/vf_v360: fix comparison with float value

pull/323/head
Paul B Mahol 5 years ago
parent 073d22696e
commit a1391cb942
  1. 2
      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);

Loading…
Cancel
Save