avfilter/vf_v360: fix regression introduced in b342678bc4

This commit is contained in:
Paul B Mahol 2019-09-23 12:27:41 +02:00
parent 8c90bb8ebb
commit eaf3c4b8bf
1 changed files with 2 additions and 2 deletions

View File

@ -2069,8 +2069,8 @@ static void dfisheye_to_xyz(const V360Context *s,
const float sin_theta = sinf(theta);
const float cos_theta = cosf(theta);
vec[0] = cos_theta * uf / lh;
vec[1] = cos_theta * -vf / lh;
vec[0] = cos_theta * m * -uf / lh;
vec[1] = cos_theta * -vf / lh;
vec[2] = sin_theta;
normalize_vector(vec);