Fix formatting

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=130662159
This commit is contained in:
olly 2016-08-18 11:25:01 -07:00 committed by Oliver Woodman
parent 83e466d129
commit f2ee7ef07b

View file

@ -215,7 +215,8 @@ public final class ConcatenatingMediaSource implements MediaSource {
}
@Override
public int getWindowLastPeriodIndex(int windowIndex) {int sourceIndex = getSourceIndexForWindow(windowIndex);
public int getWindowLastPeriodIndex(int windowIndex) {
int sourceIndex = getSourceIndexForWindow(windowIndex);
int firstPeriodIndexInSource = getFirstPeriodIndexInSource(sourceIndex);
int firstWindowIndexInSource = getFirstWindowIndexInSource(sourceIndex);
return firstPeriodIndexInSource + timelines[sourceIndex].getWindowLastPeriodIndex(