ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Sun Mar 29 13:18:25 
2020 +0200| [72be5d4661685ecaca372eae78b50e1583e4dab9] | committer: Paul B Mahol

avfilter/vf_v360: fix swapped variables

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=72be5d4661685ecaca372eae78b50e1583e4dab9
---

 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 75f512e242..54d4d23825 100644
--- a/libavfilter/vf_v360.c
+++ b/libavfilter/vf_v360.c
@@ -3565,8 +3565,8 @@ static void fov_from_dfov(int format, float d_fov, float 
w, float h, float *h_fo
         {
             const float d = 0.5f * hypotf(w, h);
 
-            *h_fov = d / h * d_fov;
-            *v_fov = d / w * d_fov;
+            *h_fov = d / w * d_fov;
+            *v_fov = d / h * d_fov;
         }
         break;
     case FLAT:

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to