mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
length->bytesLeft
This commit is contained in:
parent
13eb9c5908
commit
c8fa51c7c8
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ import java.util.Map;
|
|||
// We're only interested in metadata.
|
||||
return false;
|
||||
}
|
||||
if (data.getData().length <= data.getPosition()) {
|
||||
if (data.bytesLeft() == 0) {
|
||||
return false;
|
||||
}
|
||||
int type = readAmfType(data);
|
||||
|
|
|
|||
Loading…
Reference in a new issue