decoder/mad: Fix decode of LAME peak value

6d91b5c7b2 ("fix double promotions") changed
how LAME peak values are decoded, producing large incorrect values that
cause some MP3 files to play silently.

Restore the original decode from MAD fixed-point format to double and
document what it's doing.

Fixes #1823
This commit is contained in:
Simon Arlott
2023-05-27 20:13:53 +01:00
committed by Max Kellermann
parent fc9626e2f4
commit 6ee3d0102b
2 changed files with 17 additions and 1 deletions

2
NEWS
View File

@@ -1,4 +1,6 @@
ver 0.23.14 (not yet released)
* decoder
- mad: fix calculation of LAME peak values
ver 0.23.13 (2023/05/22)
* input