mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
avfilter/vf_v360: improve rounding in xyz_to_dfisheye()
This commit is contained in:
parent
5ffad29d62
commit
e1974622e1
@ -3468,7 +3468,7 @@ static int xyz_to_dfisheye(const V360Context *s,
|
||||
u_shift = ceilf(ew);
|
||||
} else {
|
||||
u_shift = 0;
|
||||
uf = ew - uf;
|
||||
uf = ew - uf - 1.f;
|
||||
}
|
||||
|
||||
ui = floorf(uf);
|
||||
|
Loading…
Reference in New Issue
Block a user