1
0
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:
Paul B Mahol 2019-09-21 21:35:39 +02:00
parent 073d22696e
commit a1391cb942

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);