Remove unnecessary assert condition

Credit: Oss-Fuzz
Issue: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=60777
This commit is contained in:
Martijn van Beurden 2024-07-10 14:40:34 +02:00
parent e14acb96c1
commit 09d7887b2f
1 changed files with 2 additions and 2 deletions

View File

@ -139,8 +139,8 @@ FLAC__bool grabbag__replaygain_analyze(const FLAC__int32 * const input[], FLAC__
FLAC__int32 block_peak = 0, s;
uint32_t i, j;
FLAC__ASSERT(bps >= FLAC__MIN_BITS_PER_SAMPLE && bps <= FLAC__MAX_BITS_PER_SAMPLE);
FLAC__ASSERT(FLAC__MIN_BITS_PER_SAMPLE == 4 && FLAC__MAX_BITS_PER_SAMPLE == 32);
FLAC__ASSERT(bps > 0 && bps <= FLAC__MAX_BITS_PER_SAMPLE);
FLAC__ASSERT(FLAC__MAX_BITS_PER_SAMPLE == 32);
if(bps == 16) {
if(is_stereo) {