mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
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:
parent
4fe6e5d755
commit
53cc88e2dc
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue