mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avfilter/vf_v360: fix comparison with float value
This commit is contained in:
parent
073d22696e
commit
a1391cb942
@ -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…
x
Reference in New Issue
Block a user