History

avfilter/af_aemphasis: more declarations above

Paul B Mahol committed 10 years ago

Commit df2ce131 parent fdc94db1 file · +1 −1Browse files

Unified · Split

libavfilter/af_aemphasis.c+1−1
@@ -271,7 +271,6 @@ static int config_input(AVFilterLink *inlink) · 270 unmodified lines
271 271
272 //swap a1 b1, a2 b2272 //swap a1 b1, a2 b2
273 if (s->type == 7 || s->type == 8) {273 if (s->type == 7 || s->type == 8) {
274 s->rc[0].use_brickw = 0;
275 double tau = (s->type == 7 ? 0.000050 : 0.000075);274 double tau = (s->type == 7 ? 0.000050 : 0.000075);
276 double f = 1.0 / (2 * M_PI * tau);275 double f = 1.0 / (2 * M_PI * tau);
277 double nyq = sr * 0.5;276 double nyq = sr * 0.5;
@@ -287,6 +286,7 @@ static int config_input(AVFilterLink *inlink) · 9 unmodified lines
287 set_highshelf_rbj(&s->rc[0].r1, cfreq, q, 1. / gain, sr);286 set_highshelf_rbj(&s->rc[0].r1, cfreq, q, 1. / gain, sr);
288 else287 else
289 set_highshelf_rbj(&s->rc[0].r1, cfreq, q, gain, sr);288 set_highshelf_rbj(&s->rc[0].r1, cfreq, q, gain, sr);
289 s->rc[0].use_brickw = 0;
290 } else {290 } else {
291 s->rc[0].use_brickw = 1;291 s->rc[0].use_brickw = 1;
292 if (s->mode == 0) { // Reproduction292 if (s->mode == 0) { // Reproduction

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