Skip to content

Commit

Permalink
Merge pull request #403 from dukesook/saiz-saio
Browse files Browse the repository at this point in the history
Parse aux_info_type as string
  • Loading branch information
DenizUgur authored Nov 1, 2024
2 parents 13f3800 + 9e2503e commit 0954407
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 0954407

Please sign in to comment.