mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
avfilter/vf_v360: improve rounding in xyz_to_dfisheye()
This commit is contained in:
parent
5ffad29d62
commit
e1974622e1
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue