From 8a79d3332e750f1f1e4b70e74e67a333615c3be8 Mon Sep 17 00:00:00 2001 From: dukesook Date: Wed, 16 Aug 2023 10:53:33 -0600 Subject: [PATCH] Bug Fix: item_ID should be an unsigned int(32) when the version is 2 --- src/parsing/iloc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parsing/iloc.js b/src/parsing/iloc.js index 70b17846..f9931610 100644 --- a/src/parsing/iloc.js +++ b/src/parsing/iloc.js @@ -26,7 +26,7 @@ BoxParser.createFullBoxCtor("iloc", function(stream) { if (this.version < 2) { item.item_ID = stream.readUint16(); } else if (this.version === 2) { - item.item_ID = stream.readUint16(); + item.item_ID = stream.readUint32(); } else { throw "version of iloc box not supported"; }