Skip to content

Commit

Permalink
Merge pull request #406 from Andrews54757/patch-1
Browse files Browse the repository at this point in the history
Fix parsing Flac boxes
  • Loading branch information
rbouqueau authored Sep 27, 2024
2 parents c6cc468 + 149c9e0 commit c5f47a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions src/parsing/dfLa.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions src/parsing/sampleentries/sampleentry.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit c5f47a2

Please sign in to comment.