1
0
Fork 0
mirror of https://github.com/codedread/bitjs synced 2025-10-03 17:49:16 +02:00

Add support for FLAC in sniffer and codecs package.

This commit is contained in:
Jeff Schiller 2023-02-05 19:39:04 -08:00
parent 44beb992bf
commit 303c635b90
5 changed files with 17 additions and 4 deletions

View file

@ -31,6 +31,7 @@ const fileSignatures = {
'image/webp': [[0x52, 0x49, 0x46, 0x46, '??', '??', '??', '??', 0x57, 0x45, 0x42, 0x50]],
// Audio/Video formats.
'application/ogg': [[0x4F, 0x67, 0x67, 0x53]],
'audio/flac': [[0x66, 0x4C, 0x61, 0x43]],
'audio/mpeg': [[0xFF, 0xFB], [0xFF, 0xF3], [0xFF, 0xF2], [0x49, 0x44, 0x33]],
};