Fix typo.

PiperOrigin-RevId: 229365333
This commit is contained in:
tonihei 2019-01-15 15:07:47 +00:00 committed by Oliver Woodman
parent 84574d9c11
commit 4f1f4fbf49

View file

@ -457,10 +457,10 @@ public class DefaultDashChunkSource implements DashChunkSource {
}
private ArrayList<Representation> getRepresentations() {
List<AdaptationSet> manifestAdapationSets = manifest.getPeriod(periodIndex).adaptationSets;
List<AdaptationSet> manifestAdaptationSets = manifest.getPeriod(periodIndex).adaptationSets;
ArrayList<Representation> representations = new ArrayList<>();
for (int adaptationSetIndex : adaptationSetIndices) {
representations.addAll(manifestAdapationSets.get(adaptationSetIndex).representations);
representations.addAll(manifestAdaptationSets.get(adaptationSetIndex).representations);
}
return representations;
}