mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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.
|
// We're only interested in metadata.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (data.getData().length <= data.getPosition()) {
|
if (data.bytesLeft() == 0) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
int type = readAmfType(data);
|
int type = readAmfType(data);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue