History

avfilter/vf_fftfilt: Remove dead depth code

Fixes: CID1509373 Logically dead code

Michael Niedermayer committed 2 years ago

Commit 64aa2331 parent 2af95b91 file · +1 −3Browse files

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

Unified · Split

libavfilter/vf_fftfilt.c+1−3
@@ -382,11 +382,9 @@ static int config_props(AVFilterLink *inlink) · 381 unmodified lines
382382 if (s->depth <= 8) {
383383 s->rdft_horizontal = rdft_horizontal8;
384384 s->irdft_horizontal = irdft_horizontal8;
385− } else if (s->depth > 8) {
385+ } else {
386386 s->rdft_horizontal = rdft_horizontal16;
387387 s->irdft_horizontal = irdft_horizontal16;
388− } else {
389− return AVERROR_BUG;
390388 }
391389 return 0;
392390 }

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