v0.13.2
Patch Changes
-
362c715: Fixed MP3 detection to handle raw MP3 files without ID3 tags
The MP3 asset detection now properly handles MP3 files that start with audio frame data instead of an ID3 tag header. This fixes the "unsupported image format" error when protecting MP3 files generated by encoders like lamejs that produce raw audio frames.
Changes:
- Added proper 11-bit sync word detection (
0xFF+(byte1 & 0xE0) === 0xE0) for MP3 frame headers
- Added proper 11-bit sync word detection (