[FFmpeg-cvslog] avfilter/vf_v360: fix regression introduced in b342678bc47b4e5
Paul B Mahol
git at videolan.org
Mon Sep 23 13:30:17 EEST 2019
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Sep 23 12:27:41 2019 +0200| [eaf3c4b8bf292aefdf6eb8e4ca15ea24df48ca04] | committer: Paul B Mahol
avfilter/vf_v360: fix regression introduced in b342678bc47b4e5
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eaf3c4b8bf292aefdf6eb8e4ca15ea24df48ca04
---
libavfilter/vf_v360.c | 4 ++--
1 file 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);
More information about the ffmpeg-cvslog
mailing list