History

avfilter/vf_v360: reverse order of remap for loops

Paul B Mahol committed 7 years ago

Commit a09213d1 parent cf621101 file · +2 −2Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_v360.c+2−2
@@ -2478,8 +2478,8 @@ static int config_output(AVFilterLink *outlink) · 2477 unmodified lines
24782478 float vec[3];
24792479 XYRemap rmap;
24802480
2481− for (int i = 0; i < width; i++) {
2482− for (int j = 0; j < height; j++) {
2481+ for (int j = 0; j < height; j++) {
2482+ for (int i = 0; i < width; i++) {
24832483 uint16_t *u = s->u[p] + (j * uv_linesize + i) * elements;
24842484 uint16_t *v = s->v[p] + (j * uv_linesize + i) * elements;
24852485 int16_t *ker = s->ker[p] + (j * uv_linesize + i) * elements;

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