1
0
Fork 0
mirror of https://github.com/codedread/bitjs synced 2025-10-04 18:19:15 +02:00

codecs: Properly detect Matroska audio/video. Add codec support for AV1 video and DTS audio. Bump to 1.1.4.

This commit is contained in:
Jeff Schiller 2023-10-19 11:41:02 -07:00
parent 96a74d910c
commit bb0f40394e
7 changed files with 213 additions and 137 deletions

View file

@ -32,7 +32,7 @@ export class BitBuffer {
*/
constructor(numBytes, mtl = false) {
if (typeof numBytes != typeof 1 || numBytes <= 0) {
throw "Error! ByteBuffer initialized with '" + numBytes + "'";
throw "Error! BitBuffer initialized with '" + numBytes + "'";
}
/**