Skip to content

Commit

Permalink
Fix javadoc references to writeSampleData
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 502821506
  • Loading branch information
rohitjoins authored and christosts committed Jan 18, 2023
1 parent 76af427 commit 8fcd6bb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1649,16 +1649,16 @@ private int writeSampleData(ExtractorInput input, Track track, int size, boolean
}

/**
* Called by {@link #writeSampleData(ExtractorInput, Track, int)} when the sample has been
* written. Returns the final sample size and resets state for the next sample.
* Called by {@link #writeSampleData(ExtractorInput, Track, int, boolean)} when the sample has
* been written. Returns the final sample size and resets state for the next sample.
*/
private int finishWriteSampleData() {
int sampleSize = sampleBytesWritten;
resetWriteSampleData();
return sampleSize;
}

/** Resets state used by {@link #writeSampleData(ExtractorInput, Track, int)}. */
/** Resets state used by {@link #writeSampleData(ExtractorInput, Track, int, boolean)}. */
private void resetWriteSampleData() {
sampleBytesRead = 0;
sampleBytesWritten = 0;
Expand Down

0 comments on commit 8fcd6bb

Please sign in to comment.