mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-15 11:30:08 +01:00
avfilter/vf_v360: fix regression introduced in b342678bc4
This commit is contained in:
@@ -2069,8 +2069,8 @@ static void dfisheye_to_xyz(const V360Context *s,
|
|||||||
const float sin_theta = sinf(theta);
|
const float sin_theta = sinf(theta);
|
||||||
const float cos_theta = cosf(theta);
|
const float cos_theta = cosf(theta);
|
||||||
|
|
||||||
vec[0] = cos_theta * uf / lh;
|
vec[0] = cos_theta * m * -uf / lh;
|
||||||
vec[1] = cos_theta * -vf / lh;
|
vec[1] = cos_theta * -vf / lh;
|
||||||
vec[2] = sin_theta;
|
vec[2] = sin_theta;
|
||||||
|
|
||||||
normalize_vector(vec);
|
normalize_vector(vec);
|
||||||
|
|||||||
Reference in New Issue
Block a user