mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vf_v360: fix regression introduced in b342678bc4
This commit is contained in:
parent
8c90bb8ebb
commit
eaf3c4b8bf
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue