Allow MP3 files to play with size greater than 2GB.

Issue:#7337
PiperOrigin-RevId: 312042768
This commit is contained in:
samrobinson 2020-05-18 10:32:23 +01:00 committed by Andrew Lewis
parent 8736324d0e
commit 09025d3912
2 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,8 @@
marked with the `C.ROLE_FLAG_TRICK_PLAY` flag.
* Fix assertion failure in `SampleQueue` when playing DASH streams with
EMSG tracks ([#7273](https://github.com/google/ExoPlayer/issues/7273)).
* MP3: Allow MP3 files with XING headers that are larger than 2GB to be played
([#7337](https://github.com/google/ExoPlayer/issues/7337)).
* MPEG-TS: Fix issue where SEI NAL units were incorrectly dropped from H.265
samples ([#7113](https://github.com/google/ExoPlayer/issues/7113)).
* Text

View File

@ -60,7 +60,7 @@ import com.google.android.exoplayer2.util.Util;
return new XingSeeker(position, mpegAudioHeader.frameSize, durationUs);
}
long dataSize = frame.readUnsignedIntToInt();
long dataSize = frame.readUnsignedInt();
long[] tableOfContents = new long[100];
for (int i = 0; i < 100; i++) {
tableOfContents[i] = frame.readUnsignedByte();