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
b7768853
authored
Sep 06, 2019
by
andrewlewis
Committed by
Oliver Woodman
Sep 10, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix init data handling for FLAC in MP4
Issue: #6396 PiperOrigin-RevId: 267536336
parent
75435b42
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/mp4/AtomParsers.java
RELEASENOTES.md
View file @
b7768853
...
...
@@ -95,6 +95,8 @@
*
Fix issue where playback speeds are not used in adaptive track selections
after manual selection changes for other renderers
(
[
#6256
](
https://github.com/google/ExoPlayer/issues/6256
)
).
*
Fix initialization data handling for FLAC in MP4
(
[
#6396
](
https://github.com/google/ExoPlayer/issues/6396
)
).
### 2.10.3 ###
...
...
library/core/src/main/java/com/google/android/exoplayer2/extractor/mp4/AtomParsers.java
View file @
b7768853
...
...
@@ -1162,7 +1162,7 @@ import java.util.List;
System
.
arraycopy
(
opusMagic
,
0
,
initializationData
,
0
,
opusMagic
.
length
);
parent
.
setPosition
(
childPosition
+
Atom
.
HEADER_SIZE
);
parent
.
readBytes
(
initializationData
,
opusMagic
.
length
,
childAtomBodySize
);
}
else
if
(
childAtom
Siz
e
==
Atom
.
TYPE_dfLa
||
childAtomType
==
Atom
.
TYPE_alac
)
{
}
else
if
(
childAtom
Typ
e
==
Atom
.
TYPE_dfLa
||
childAtomType
==
Atom
.
TYPE_alac
)
{
int
childAtomBodySize
=
childAtomSize
-
Atom
.
FULL_HEADER_SIZE
;
initializationData
=
new
byte
[
childAtomBodySize
];
parent
.
setPosition
(
childPosition
+
Atom
.
FULL_HEADER_SIZE
);
...
...
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