mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix reading single byte from DataSourceInputStream.
This commit is contained in:
parent
7f91a6d4d8
commit
ed6fcb638e
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ public class DataSourceInputStream extends InputStream {
|
||||||
@Override
|
@Override
|
||||||
public int read() throws IOException {
|
public int read() throws IOException {
|
||||||
read(singleByteArray);
|
read(singleByteArray);
|
||||||
return singleByteArray[0];
|
return singleByteArray[0] & 0xFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue