You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If try play mp3 with size ~2 GB, player throws exception - java.lang.IllegalStateException: Top bit not zero: -2121515177.
It's happens in XingSeeker.create(...).
In this line long dataSize = frame.readUnsignedIntToInt();.
It's becuse readUnsignedIntToInt can return int in interval 0 .. 2,147,483,647, but size can be actual long. In my case 2,173,452,181 bytes.
Reproduction steps
Play audio with size more than 2,147,483,647 bytes size.
Link to test content
You can use any mp3 file with size more than 2,147,483,647 bytes.
I sent on email my test case.
A full bug report captured from the device
I sent on email.
Version of ExoPlayer being used
2.11.4
Device(s) and version(s) of Android being used
Samsung SM-A505FN with Android 10.
The text was updated successfully, but these errors were encountered:
@Samrobbo - It would be good to get a fix in for this. It's probably just a case of using readUnsignedInt instead of readUnsignedIntToInt when reading dataSize.
Issue description
If try play mp3 with size ~2 GB, player throws exception -
java.lang.IllegalStateException: Top bit not zero: -2121515177
.It's happens in
XingSeeker.create(...)
.In this line
long dataSize = frame.readUnsignedIntToInt();
.It's becuse readUnsignedIntToInt can return int in interval 0 .. 2,147,483,647, but size can be actual long. In my case 2,173,452,181 bytes.
Reproduction steps
Link to test content
You can use any mp3 file with size more than 2,147,483,647 bytes.
I sent on email my test case.
A full bug report captured from the device
I sent on email.
Version of ExoPlayer being used
2.11.4
Device(s) and version(s) of Android being used
Samsung SM-A505FN with Android 10.
The text was updated successfully, but these errors were encountered: