Skip to content

Commit

Permalink
Remove incorrect byte from aiff check (#183)
Browse files Browse the repository at this point in the history
The first four bytes should be the string `FORM`.

Fixes #182
  • Loading branch information
kevva authored and sindresorhus committed Jan 22, 2019
1 parent 712e580 commit 49dfa1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ module.exports = input => {
}
}

if (check([0x46, 0x4F, 0x52, 0x4D, 0x00])) {
if (check([0x46, 0x4F, 0x52, 0x4D])) {
return {
ext: 'aif',
mime: 'audio/aiff'
Expand Down

0 comments on commit 49dfa1d

Please sign in to comment.