length->bytesLeft
This commit is contained in:
parent
13eb9c5908
commit
c8fa51c7c8
@ -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…
x
Reference in New Issue
Block a user