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
35653565 {
35663566 const float d = 0.5f * hypotf(w, h);
35673567
3568− *h_fov = d / h * d_fov;
3569− *v_fov = d / w * d_fov;
3568+ *h_fov = d / w * d_fov;
3569+ *v_fov = d / h * d_fov;
35703570 }
35713571 break;
35723572 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