mirror of https://github.com/xiph/flac
Remove unnecessary assert condition
Credit: Oss-Fuzz Issue: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=60777
This commit is contained in:
parent
e14acb96c1
commit
09d7887b2f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue