mirror of
https://github.com/androidx/media.git
synced 2025-05-03 21:57:46 +08:00

This is needed to correctly handle files with trailing non-MP3 data (which is indicated by the length in the `Info` frame being shorter than the overall length of the file). The test file was generated by appending 150kB of `DEADBEEF` onto the end of `test-cbr-info-header.mp3`, and the test asserts that the extracted samples are identical. Issue: androidx/media#1480 PiperOrigin-RevId: 658727595 (cherry picked from commit b09cea9e3a3f9a039b77c6e6db3ee5f450becc50)