You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/vf_v360: improve rounding in xyz_to_dfisheye()
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user