From 8c3b39c14928130fda951d23f05be4ba315aca5e Mon Sep 17 00:00:00 2001 From: Andrew S Date: Fri, 20 Sep 2024 23:24:40 -0500 Subject: [PATCH 1/2] Add fLaC back to sample entries list --- src/parsing/sampleentries/sampleentry.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/parsing/sampleentries/sampleentry.js b/src/parsing/sampleentries/sampleentry.js index b963be89..e2c18ac3 100644 --- a/src/parsing/sampleentries/sampleentry.js +++ b/src/parsing/sampleentries/sampleentry.js @@ -104,6 +104,7 @@ BoxParser.createSampleEntryCtor(BoxParser.SAMPLE_ENTRY_TYPE_AUDIO, "mha1"); BoxParser.createSampleEntryCtor(BoxParser.SAMPLE_ENTRY_TYPE_AUDIO, "mha2"); BoxParser.createSampleEntryCtor(BoxParser.SAMPLE_ENTRY_TYPE_AUDIO, "mhm1"); BoxParser.createSampleEntryCtor(BoxParser.SAMPLE_ENTRY_TYPE_AUDIO, "mhm2"); +BoxParser.createSampleEntryCtor(BoxParser.SAMPLE_ENTRY_TYPE_AUDIO, "fLaC"); // Encrypted sample entries BoxParser.createEncryptedSampleEntryCtor(BoxParser.SAMPLE_ENTRY_TYPE_VISUAL, "encv"); From 149c9e00707a21de0161d770bf1dd4b2e05d5b03 Mon Sep 17 00:00:00 2001 From: Andrew S Date: Fri, 20 Sep 2024 23:27:07 -0500 Subject: [PATCH 2/2] Remove header parse within dfLa to fix it --- src/parsing/dfLa.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/parsing/dfLa.js b/src/parsing/dfLa.js index fc2bd248..cc1480a1 100644 --- a/src/parsing/dfLa.js +++ b/src/parsing/dfLa.js @@ -14,9 +14,6 @@ BoxParser.createFullBoxCtor("dfLa", function(stream) { "RESERVED" ]; - // dfLa is a FullBox - this.parseFullHeader(stream); - // for (i=0; ; i++) { // to end of box do { var flagAndType = stream.readUint8();