Skip to content

Commit

Permalink
fix parsing of dec3
Browse files Browse the repository at this point in the history
  • Loading branch information
cconcolato committed May 16, 2018
1 parent 65698a6 commit 159bdce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parsing/dec3.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BoxParser.createBoxCtor("dec3", function(stream) {
this.data_rate = tmp_16 >> 3;
this.num_ind_sub = tmp_16 & 0x7;
this.ind_subs = [];
for (var i = 0; i < this.num_ind_sub; i++) {
for (var i = 0; i < this.num_ind_sub+1; i++) {
var ind_sub = {};
this.ind_subs.push(ind_sub);
var tmp_byte1 = stream.readUint8();
Expand Down

0 comments on commit 159bdce

Please sign in to comment.