History

avfilter/af_adelay: fix buggy behaviour

Paul B Mahol committed 7 years ago

Commit 1ebac3c1 parent 24b6e961 file · +3 −3Browse files

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

Unified · Split

libavfilter/af_adelay.c+3−3
@@ -165,9 +165,9 @@ static int config_input(AVFilterLink *inlink) · 164 unmodified lines
165 }165 }
166 }166 }
167 167
168 if (s->all) {168 if (s->all && i) {
169 for (int j = i + 1; j < s->nb_delays; j++)169 for (int j = i; j < s->nb_delays; j++)
170 s->chandelay[j].delay = s->chandelay[i].delay;170 s->chandelay[j].delay = s->chandelay[i-1].delay;
171 }171 }
172 172
173 s->padding = s->chandelay[0].delay;173 s->padding = s->chandelay[0].delay;

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