History

avfilter/af_biquads: make sure that biquad filter still works

Paul B Mahol committed 5 years ago

Commit c6a7ca21 parent 040e9891 file · +1 −1Browse files

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

Unified · Split

libavfilter/af_biquads.c+1−1
@@ -440,7 +440,7 @@ static int config_filter(AVFilterLink *outlink, int reset) · 439 unmodified lines
440440 return 0;
441441 }
442442
443− if (w0 > M_PI || w0 <= 0.)
443+ if ((w0 > M_PI || w0 <= 0.) && (s->filter_type != biquad))
444444 return AVERROR(EINVAL);
445445
446446 switch (s->width_type) {

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