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
5efbcb44
authored
Jan 04, 2019
by
andrewlewis
Committed by
Oliver Woodman
Jan 08, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix nullness issue
PiperOrigin-RevId: 227822937
parent
ed1f41db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
library/core/src/main/java/com/google/android/exoplayer2/extractor/mp4/MdtaMetadataEntry.java
library/core/src/main/java/com/google/android/exoplayer2/extractor/mp4/MdtaMetadataEntry.java
View file @
5efbcb44
...
@@ -19,6 +19,7 @@ import android.os.Parcel;
...
@@ -19,6 +19,7 @@ import android.os.Parcel;
import
android.os.Parcelable
;
import
android.os.Parcelable
;
import
android.support.annotation.Nullable
;
import
android.support.annotation.Nullable
;
import
com.google.android.exoplayer2.metadata.Metadata
;
import
com.google.android.exoplayer2.metadata.Metadata
;
import
com.google.android.exoplayer2.util.Util
;
import
java.util.Arrays
;
import
java.util.Arrays
;
/**
/**
...
@@ -45,7 +46,7 @@ public final class MdtaMetadataEntry implements Metadata.Entry {
...
@@ -45,7 +46,7 @@ public final class MdtaMetadataEntry implements Metadata.Entry {
}
}
private
MdtaMetadataEntry
(
Parcel
in
)
{
private
MdtaMetadataEntry
(
Parcel
in
)
{
key
=
in
.
readString
(
);
key
=
Util
.
castNonNull
(
in
.
readString
()
);
value
=
new
byte
[
in
.
readInt
()];
value
=
new
byte
[
in
.
readInt
()];
in
.
readByteArray
(
value
);
in
.
readByteArray
(
value
);
localeIndicator
=
in
.
readInt
();
localeIndicator
=
in
.
readInt
();
...
...
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