1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avfilter/vf_fftfilt: Remove dead depth code

Fixes: CID1509373 Logically dead code

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2024-07-08 00:59:40 +02:00
parent 2af95b9214
commit 64aa233a88
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64

View File

@ -382,11 +382,9 @@ static int config_props(AVFilterLink *inlink)
if (s->depth <= 8) { if (s->depth <= 8) {
s->rdft_horizontal = rdft_horizontal8; s->rdft_horizontal = rdft_horizontal8;
s->irdft_horizontal = irdft_horizontal8; s->irdft_horizontal = irdft_horizontal8;
} else if (s->depth > 8) { } else {
s->rdft_horizontal = rdft_horizontal16; s->rdft_horizontal = rdft_horizontal16;
s->irdft_horizontal = irdft_horizontal16; s->irdft_horizontal = irdft_horizontal16;
} else {
return AVERROR_BUG;
} }
return 0; return 0;
} }