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
382 if (s->depth <= 8) {382 if (s->depth <= 8) {
383 s->rdft_horizontal = rdft_horizontal8;383 s->rdft_horizontal = rdft_horizontal8;
384 s->irdft_horizontal = irdft_horizontal8;384 s->irdft_horizontal = irdft_horizontal8;
385 } else if (s->depth > 8) {385 } else {
386 s->rdft_horizontal = rdft_horizontal16;386 s->rdft_horizontal = rdft_horizontal16;
387 s->irdft_horizontal = irdft_horizontal16;387 s->irdft_horizontal = irdft_horizontal16;
388 } else {
389 return AVERROR_BUG;
390 }388 }
391 return 0;389 return 0;
392}390}

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