Commit 72be5d46 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_v360: fix swapped variables

parent 85025162
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment