Change #271431
| Category | ffmpeg |
| Changed by | Lynne <dev@lynne.ee> |
| Changed at | Wed 17 Jun 2026 10:34:24 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | a51ec04adfcd0a872a2ac5826c42cad304d7c5e3 |
Comments
aacdec_usac: parse loudnessInfoV1 Real-world xHE-AAC streams and the ISO/IEC 23003-3 conformance sequences carry their loudness metadata exclusively as loudnessInfoV1() inside loudnessInfoSetExtension(), which was previously rejected with AVERROR_PATCHWELCOME, making such streams undecodable and loudness normalization inoperative on them. loudnessInfoV1() is identical to loudnessInfo() apart from an added eqSetId field. Parse it, restrict measurement selection to eqSetId == 0 (in line with the downmixId/drcSetId restrictions), and skip unknown loudnessInfoSetExtension() payloads using their explicitly coded size instead of erroring out.
Changed files
- libavcodec/aac/aacdec.h
- libavcodec/aac/aacdec_usac.c