mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +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
|
||||
public int read() throws IOException {
|
||||
read(singleByteArray);
|
||||
return singleByteArray[0];
|
||||
return singleByteArray[0] & 0xFF;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in a new issue