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:
parent
2af95b9214
commit
64aa233a88
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user