Skip to content

Commit

Permalink
fix: Build ESDS box missing data property gpac#341
Browse files Browse the repository at this point in the history
  • Loading branch information
hughfenghen committed Jan 26, 2024
1 parent a8f4cd8 commit e64b0aa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/parsing/esds.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
BoxParser.createFullBoxCtor("esds", function(stream) {
var esd_data = stream.readUint8Array(this.size-this.hdr_size);
BoxParser.createFullBoxCtor("esds", function (stream) {
var esd_data = stream.readUint8Array(this.size - this.hdr_size);
this.data = esd_data
if (typeof MPEG4DescriptorParser !== "undefined") {
var esd_parser = new MPEG4DescriptorParser();
this.esd = esd_parser.parseOneDescriptor(new DataStream(esd_data.buffer, 0, DataStream.BIG_ENDIAN));
Expand Down

0 comments on commit e64b0aa

Please sign in to comment.