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 12, 2019
1 parent d892e92 commit 0a7a102
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 @@ -927,7 +927,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 @@ -105,7 +105,8 @@ const types = [
'ics',
'glb',
'pcap',
'voc'
'voc',
'ac3'
];

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

0 comments on commit 0a7a102

Please sign in to comment.