Commit eaf3c4b8 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_v360: fix regression introduced in b342678b

parent 8c90bb8e
...@@ -2069,8 +2069,8 @@ static void dfisheye_to_xyz(const V360Context *s, ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment