Commit 076a77e5 by Oliver Woodman

Fix indexing error

parent 3fbfe29d
......@@ -217,7 +217,7 @@ import java.util.Arrays;
streamResetFlags[i] = true;
// If there's still a chance of avoiding a seek, try and seek within the sample queue.
if (!seekRequired) {
SampleQueue sampleQueue = sampleQueues[i];
SampleQueue sampleQueue = sampleQueues[track];
sampleQueue.rewind();
seekRequired = !sampleQueue.advanceTo(positionUs, true, true)
&& sampleQueue.getReadIndex() != 0;
......
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