media/libraries/extractor/src
ibaker b09cea9e3a Implement MP3 ConstantBitrateSeeker.getDataEndPosition()
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

#cherrypick

PiperOrigin-RevId: 658727595
2024-08-02 02:51:49 -07:00
..
androidTest Remove Multidex 2024-07-24 16:17:00 +01:00
main Implement MP3 ConstantBitrateSeeker.getDataEndPosition() 2024-08-02 02:51:49 -07:00
test Implement MP3 ConstantBitrateSeeker.getDataEndPosition() 2024-08-02 02:51:49 -07:00