Fixes: CID1509373 Logically dead code
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -382,11 +382,9 @@ static int config_props(AVFilterLink *inlink) · 381 unmodified lines | ||
| 382 | 382 | if (s->depth <= 8) { |
| 383 | 383 | s->rdft_horizontal = rdft_horizontal8; |
| 384 | 384 | s->irdft_horizontal = irdft_horizontal8; |
| 385 | − } else if (s->depth > 8) { | |
| 385 | + } else { | |
| 386 | 386 | s->rdft_horizontal = rdft_horizontal16; |
| 387 | 387 | s->irdft_horizontal = irdft_horizontal16; |
| 388 | − } else { | |
| 389 | − return AVERROR_BUG; | |
| 390 | 388 | } |
| 391 | 389 | return 0; |
| 392 | 390 | } |