syntax update
Showing
1 changed file
with
3 additions
and
2 deletions
... | @@ -374,8 +374,9 @@ | ... | @@ -374,8 +374,9 @@ |
374 | this.manifest.targetDuration = entry.duration; | 374 | this.manifest.targetDuration = entry.duration; |
375 | }, | 375 | }, |
376 | 'endlist': function() { | 376 | 'endlist': function() { |
377 | var calculatedDuration = 0; | 377 | var calculatedDuration = 0, |
378 | for(var i = 0; i < this.manifest.segments.length; i++) { | 378 | i; |
379 | for( i = 0; i < this.manifest.segments.length; i++) { | ||
379 | if(this.manifest.segments[i].duration) { | 380 | if(this.manifest.segments[i].duration) { |
380 | calculatedDuration += this.manifest.segments[i].duration; | 381 | calculatedDuration += this.manifest.segments[i].duration; |
381 | } else if (this.manifest.targetDuration) { | 382 | } else if (this.manifest.targetDuration) { | ... | ... |
-
Please register or sign in to post a comment