Fix ArrayIndexOutOfBoundsException in DashMediaPeriod

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=158269662
This commit is contained in:
olly 2017-06-07 08:02:57 -07:00 committed by Oliver Woodman
parent 5908d2d7e2
commit 1b06ce7407

View File

@ -273,7 +273,7 @@ import java.util.List;
AdaptationSet firstAdaptationSet = adaptationSets.get(adaptationSetIndices[0]);
int primaryTrackGroupIndex = trackGroupCount;
boolean hasEventMessageTrack = primaryGroupHasEventMessageTrackFlags[i];
boolean hasCea608Track = primaryGroupHasEventMessageTrackFlags[i];
boolean hasCea608Track = primaryGroupHasCea608TrackFlags[i];
trackGroups[trackGroupCount] = new TrackGroup(formats);
trackGroupInfos[trackGroupCount++] = new TrackGroupInfo(firstAdaptationSet.type,