avfilter/vf_v360: improve xyz_to_dfisheye() even more
This commit is contained in:
parent
2f323b1978
commit
3981dbd192
1 changed files with 1 additions and 1 deletions
|
|
@ -3479,7 +3479,7 @@ static int xyz_to_dfisheye(const V360Context *s,
|
|||
|
||||
for (int i = 0; i < 4; i++) {
|
||||
for (int j = 0; j < 4; j++) {
|
||||
us[i][j] = av_clip(u_shift + ui + j - 1, 0, width - 1);
|
||||
us[i][j] = u_shift + av_clip(ui + j - 1, 0, ew - 1);
|
||||
vs[i][j] = av_clip( vi + i - 1, 0, height - 1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue