mirror of
https://github.com/samsonjs/media.git
synced 2026-03-31 10:25:48 +00:00
Merge pull request #4314 from TakuSemba/fix-bug-when-loading-init-data
close initDataSource after reading
This commit is contained in:
commit
ad2996afe4
1 changed files with 1 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ import java.util.concurrent.atomic.AtomicInteger;
|
|||
initSegmentBytesLoaded = (int) (input.getPosition() - initDataSpec.absoluteStreamPosition);
|
||||
}
|
||||
} finally {
|
||||
Util.closeQuietly(dataSource);
|
||||
Util.closeQuietly(initDataSource);
|
||||
}
|
||||
initLoadCompleted = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue