DefaultOggSeeker small optimization.

skipToNextPage() isn't necessary anymore.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=125147444
This commit is contained in:
eguven 2016-06-17 02:27:26 -07:00 committed by Oliver Woodman
parent 4fe6e5d755
commit 53cc88e2dc

View file

@ -324,7 +324,6 @@ import java.io.IOException;
//@VisibleForTesting
long skipToPageOfGranule(ExtractorInput input, long targetGranule, long currentGranule)
throws IOException, InterruptedException {
skipToNextPage(input);
pageHeader.populate(input, false);
while (pageHeader.granulePosition < targetGranule) {
input.skipFully(pageHeader.headerSize + pageHeader.bodySize);