mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2025-02-06 04:07:55 +00: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