Browse Source

avfilter/vf_v360: fix regression introduced in b342678bc4

tags/n4.3
Paul B Mahol 6 years ago
parent
commit
eaf3c4b8bf
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavfilter/vf_v360.c

+ 2
- 2
libavfilter/vf_v360.c 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);


Loading…
Cancel
Save