diff --git a/src/box-codecs.js b/src/box-codecs.js index 24743823..252fa9c8 100644 --- a/src/box-codecs.js +++ b/src/box-codecs.js @@ -132,7 +132,7 @@ BoxParser.hvc1SampleEntry.prototype.getCodec = function() { reversed <<= 1; val >>=1; } - baseCodec += BoxParser.decimalToHex(reversed, 0); + baseCodec += BoxParser.decimalToHex(reversed >>> 0, 0); baseCodec += '.'; if (this.hvcC.general_tier_flag === 0) { baseCodec += 'L';