mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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);
|
initSegmentBytesLoaded = (int) (input.getPosition() - initDataSpec.absoluteStreamPosition);
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
Util.closeQuietly(dataSource);
|
Util.closeQuietly(initDataSource);
|
||||||
}
|
}
|
||||||
initLoadCompleted = true;
|
initLoadCompleted = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue