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
ac07c56d
authored
May 10, 2019
by
tonihei
Committed by
Oliver Woodman
May 15, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix NPE in HLS deriveAudioFormat.
Issue:#5868 PiperOrigin-RevId: 247613811
parent
29add854
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
RELEASENOTES.md
library/hls/src/main/java/com/google/android/exoplayer2/source/hls/HlsMediaPeriod.java
RELEASENOTES.md
View file @
ac07c56d
...
...
@@ -2,6 +2,8 @@
### 2.10.1 ###
*
Fix NPE when using HLS chunkless preparation
(
[
#5868
](
https://github.com/google/ExoPlayer/issues/5868
)
).
*
Offline: Add option to remove all downloads.
### 2.10.0 ###
...
...
library/hls/src/main/java/com/google/android/exoplayer2/source/hls/HlsMediaPeriod.java
View file @
ac07c56d
...
...
@@ -802,7 +802,7 @@ public final class HlsMediaPeriod implements MediaPeriod, HlsSampleStreamWrapper
if
(
isPrimaryTrackInVariant
)
{
channelCount
=
variantFormat
.
channelCount
;
selectionFlags
=
variantFormat
.
selectionFlags
;
roleFlags
=
mediaTag
Format
.
roleFlags
;
roleFlags
=
variant
Format
.
roleFlags
;
language
=
variantFormat
.
language
;
label
=
variantFormat
.
label
;
}
...
...
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