Commit 1b06ce74 by olly Committed by Oliver Woodman

Fix ArrayIndexOutOfBoundsException in DashMediaPeriod

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=158269662
parent 5908d2d7
...@@ -273,7 +273,7 @@ import java.util.List; ...@@ -273,7 +273,7 @@ import java.util.List;
AdaptationSet firstAdaptationSet = adaptationSets.get(adaptationSetIndices[0]); AdaptationSet firstAdaptationSet = adaptationSets.get(adaptationSetIndices[0]);
int primaryTrackGroupIndex = trackGroupCount; int primaryTrackGroupIndex = trackGroupCount;
boolean hasEventMessageTrack = primaryGroupHasEventMessageTrackFlags[i]; boolean hasEventMessageTrack = primaryGroupHasEventMessageTrackFlags[i];
boolean hasCea608Track = primaryGroupHasEventMessageTrackFlags[i]; boolean hasCea608Track = primaryGroupHasCea608TrackFlags[i];
trackGroups[trackGroupCount] = new TrackGroup(formats); trackGroups[trackGroupCount] = new TrackGroup(formats);
trackGroupInfos[trackGroupCount++] = new TrackGroupInfo(firstAdaptationSet.type, trackGroupInfos[trackGroupCount++] = new TrackGroupInfo(firstAdaptationSet.type,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment