History

avfilter/vf_v360: fix swapped variables

Paul B Mahol committed 6 years ago

Commit 72be5d41 parent 85025161 file · +2 −2Browse files

Unified · Split

libavfilter/vf_v360.c+2−2
@@ -3565,8 +3565,8 @@ static void fov_from_dfov(int format, float d_fov, float w, float h, float *h_fo · 3564 unmodified lines
3565 {3565 {
3566 const float d = 0.5f * hypotf(w, h);3566 const float d = 0.5f * hypotf(w, h);
3567 3567
3568 *h_fov = d / h * d_fov;3568 *h_fov = d / w * d_fov;
3569 *v_fov = d / w * d_fov;3569 *v_fov = d / h * d_fov;
3570 }3570 }
3571 break;3571 break;
3572 case FLAT:3572 case FLAT:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t