Browse Source

avfilter/vf_v360: fix comparison with float value

tags/n4.3
Paul B Mahol 5 years ago
parent
commit
a1391cb942
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_v360.c

+ 1
- 1
libavfilter/vf_v360.c View File

@@ -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