Commit ab3489ef by eguven Committed by Oliver Woodman

Remove unnecessary reset() method.

pageHeader.headerArray is only used in getNextSeekPosition()
in which populatePageHeader() resets them both at the beginning
anyway.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=120902428
parent 784a18a1
......@@ -47,14 +47,6 @@ import java.io.IOException;
}
/**
* Resets this {@code OggSeeker}.
*/
public void reset() {
pageHeader.reset();
headerArray.reset();
}
/**
* Returns a position converging to the {@code targetGranule} to which the {@link ExtractorInput}
* has to seek and then be passed for another call until -1 is return. If -1 is returned the
* input is at a position which is before the start of the page before the target page and at
......
......@@ -116,7 +116,6 @@ import java.util.ArrayList;
previousPacketBlockSize = vorbisIdHeader.blockSize0;
// we're never at the first packet after seeking
seenFirstAudioPacket = true;
oggSeeker.reset();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment