summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-09-23 12:27:41 +0200
committerPaul B Mahol <onemda@gmail.com>2019-09-23 12:27:41 +0200
commiteaf3c4b8bf292aefdf6eb8e4ca15ea24df48ca04 (patch)
tree9ad1230db182d31e433fb996ba71f52fa59593c5 /libavfilter
parent8c90bb8ebb6e60d1e6f48259091c0f3f7ff57b3e (diff)
avfilter/vf_v360: fix regression introduced in b342678bc47b4e5
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_v360.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_v360.c b/libavfilter/vf_v360.c
index e44a26ee45..9596a75c0d 100644
--- a/libavfilter/vf_v360.c
+++ b/libavfilter/vf_v360.c
@@ -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);