Skip to content

Commit

Permalink
test for ac3
Browse files Browse the repository at this point in the history
  • Loading branch information
Yanis Benson committed Apr 20, 2019
1 parent 56a872c commit 3d456b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -941,7 +941,7 @@ const fileType = input => {
};
}

if (check([0x77, 0x0B])) {
if (check([0x0B, 0x77])) {
return {
ext: 'ac3',
mime: 'audio/vnd.dolby.dd-raw'
Expand Down
3 changes: 2 additions & 1 deletion test.js
Expand Up @@ -107,7 +107,8 @@ const types = [
'dsf',
'lnk',
'alias',
'voc'
'voc',
'ac3'
];

// Define an entry here only if the fixture has a different
Expand Down

0 comments on commit 3d456b1

Please sign in to comment.