Turn replaygain application off when impossible

Addition to commit 808efb3. That commit threw a warning, but did
not actually turn off replaygain application.

Credit: Oss-Fuzz
Issue: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=70482
This commit is contained in:
Martijn van Beurden 2024-07-23 08:24:20 +02:00
parent 8c244b8389
commit defad5b544
1 changed files with 1 additions and 0 deletions

View File

@ -1590,6 +1590,7 @@ void metadata_callback(const FLAC__StreamDecoder *decoder, const FLAC__StreamMet
decoder_session->abort_flag = true;
return;
}
decoder_session->replaygain.apply = false;
}
else {
const char *ls[] = { "no", "peak", "hard" };