avfilter/vf_v360: fix swapped variables

This commit is contained in:
Paul B Mahol 2020-03-29 13:18:25 +02:00
parent 85025162da
commit 72be5d4661
1 changed files with 2 additions and 2 deletions

View File

@ -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: