Skip to content

Commit

Permalink
parse aux_info_type as string
Browse files Browse the repository at this point in the history
  • Loading branch information
dukesook committed Jul 15, 2024
1 parent c6cc468 commit 9e2503e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/parsing/saio.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BoxParser.createFullBoxCtor("saio", function(stream) {
if (this.flags & 0x1) {
this.aux_info_type = stream.readUint32();
this.aux_info_type = stream.readString(4);
this.aux_info_type_parameter = stream.readUint32();
}
var count = stream.readUint32();
Expand Down
2 changes: 1 addition & 1 deletion src/parsing/saiz.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BoxParser.createFullBoxCtor("saiz", function(stream) {
if (this.flags & 0x1) {
this.aux_info_type = stream.readUint32();
this.aux_info_type = stream.readString(4);
this.aux_info_type_parameter = stream.readUint32();
}
this.default_sample_info_size = stream.readUint8();
Expand Down

0 comments on commit 9e2503e

Please sign in to comment.