diff options
author | Paul B Mahol <onemda@gmail.com> | 2019-09-23 12:27:41 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-09-23 12:27:41 +0200 |
commit | eaf3c4b8bf292aefdf6eb8e4ca15ea24df48ca04 (patch) | |
tree | 9ad1230db182d31e433fb996ba71f52fa59593c5 | |
parent | 8c90bb8ebb6e60d1e6f48259091c0f3f7ff57b3e (diff) | |
download | ffmpeg-eaf3c4b8bf292aefdf6eb8e4ca15ea24df48ca04.tar.gz |
avfilter/vf_v360: fix regression introduced in b342678bc47b4e5
-rw-r--r-- | libavfilter/vf_v360.c | 4 |
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); |