Commit b8415dba by Oliver Woodman

Parse all UUID boxes, not just the first one.

parent 1f0d4118
...@@ -751,9 +751,12 @@ public final class FragmentedMp4Extractor implements Extractor { ...@@ -751,9 +751,12 @@ public final class FragmentedMp4Extractor implements Extractor {
parseSenc(senc.data, out); parseSenc(senc.data, out);
} }
LeafAtom uuid = traf.getLeafAtomOfType(Atom.TYPE_uuid); int childrenSize = traf.children.size();
if (uuid != null) { for (int i = 0; i < childrenSize; i++) {
parseUuid(uuid.data, out, extendedTypeScratch); Atom atom = traf.children.get(i);
if (atom.type == Atom.TYPE_uuid) {
parseUuid(((LeafAtom) atom).data, out, extendedTypeScratch);
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment