mirror of
https://github.com/samsonjs/media.git
synced 2026-03-28 09:55:48 +00:00
close initDataSource after reading
This commit is contained in:
parent
4998354cb1
commit
993eb8eda0
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