gpac / mp4box.js

JavaScript version of GPAC's MP4Box tool
https://gpac.github.io/mp4box.js/
BSD 3-Clause "New" or "Revised" License
1.95k stars 330 forks source link

Fix a bug that could cause negative general_profile_compatibility hex value to be set #363

Open MikeTuev opened 1 year ago

MikeTuev commented 1 year ago

Bug: if general_profile_compatibility negative after reverse, then decimalToHex() returns negative hex value. Mime codecs string, generated by test/node/mp4codec.js will be wrong. This pull request fixes this.