Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
09025d39
authored
May 18, 2020
by
samrobinson
Committed by
Andrew Lewis
May 29, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Allow MP3 files to play with size greater than 2GB.
Issue:#7337 PiperOrigin-RevId: 312042768
parent
8736324d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
RELEASENOTES.md
library/core/src/main/java/com/google/android/exoplayer2/extractor/mp3/XingSeeker.java
RELEASENOTES.md
View file @
09025d39
...
@@ -17,6 +17,8 @@
...
@@ -17,6 +17,8 @@
marked with the
`C.ROLE_FLAG_TRICK_PLAY`
flag.
marked with the
`C.ROLE_FLAG_TRICK_PLAY`
flag.
*
Fix assertion failure in
`SampleQueue`
when playing DASH streams with
*
Fix assertion failure in
`SampleQueue`
when playing DASH streams with
EMSG tracks (
[
#7273
](
https://github.com/google/ExoPlayer/issues/7273
)
).
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
*
MPEG-TS: Fix issue where SEI NAL units were incorrectly dropped from H.265
samples (
[
#7113
](
https://github.com/google/ExoPlayer/issues/7113
)
).
samples (
[
#7113
](
https://github.com/google/ExoPlayer/issues/7113
)
).
*
Text
*
Text
...
...
library/core/src/main/java/com/google/android/exoplayer2/extractor/mp3/XingSeeker.java
View file @
09025d39
...
@@ -60,7 +60,7 @@ import com.google.android.exoplayer2.util.Util;
...
@@ -60,7 +60,7 @@ import com.google.android.exoplayer2.util.Util;
return
new
XingSeeker
(
position
,
mpegAudioHeader
.
frameSize
,
durationUs
);
return
new
XingSeeker
(
position
,
mpegAudioHeader
.
frameSize
,
durationUs
);
}
}
long
dataSize
=
frame
.
readUnsignedInt
ToInt
();
long
dataSize
=
frame
.
readUnsignedInt
();
long
[]
tableOfContents
=
new
long
[
100
];
long
[]
tableOfContents
=
new
long
[
100
];
for
(
int
i
=
0
;
i
<
100
;
i
++)
{
for
(
int
i
=
0
;
i
<
100
;
i
++)
{
tableOfContents
[
i
]
=
frame
.
readUnsignedByte
();
tableOfContents
[
i
]
=
frame
.
readUnsignedByte
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment