From eaf3c4b8bf292aefdf6eb8e4ca15ea24df48ca04 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 23 Sep 2019 12:27:41 +0200 Subject: avfilter/vf_v360: fix regression introduced in b342678bc47b4e5 --- libavfilter/vf_v360.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavfilter') 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); -- cgit v1.2.3