mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Merge pull request #9709 from Marksss:release-v2
PiperOrigin-RevId: 415272874
This commit is contained in:
commit
0744989db9
1 changed files with 4 additions and 0 deletions
|
|
@ -89,6 +89,10 @@ import java.util.Map;
|
||||||
// We're only interested in metadata.
|
// We're only interested in metadata.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (data.bytesLeft() == 0) {
|
||||||
|
// The metadata script tag has no value.
|
||||||
|
return false;
|
||||||
|
}
|
||||||
int type = readAmfType(data);
|
int type = readAmfType(data);
|
||||||
if (type != AMF_TYPE_ECMA_ARRAY) {
|
if (type != AMF_TYPE_ECMA_ARRAY) {
|
||||||
// We're not interested in this metadata.
|
// We're not interested in this metadata.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue