mirror of
https://github.com/samsonjs/media.git
synced 2026-03-28 09:55:48 +00:00
Fix indexing error
This commit is contained in:
parent
3fbfe29d27
commit
076a77e598
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue