Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mangui committed Oct 10, 2016
1 parent dcf67a1 commit 985b4a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/remux/mp4-remuxer.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ class MP4Remuxer {

// only inject/drop audio frames in case time offset is accurate
if (accurateTimeOffset) {
for (var i = 0; i < samples0.length; ) {
for (let i = 0; i < samples0.length; ) {
// First, let's see how far off this frame is from where we expect it to be
var sample = samples0[i],
ptsNorm = this._PTSNormalize(sample.pts - this._initDTS, nextAacPts),
Expand Down Expand Up @@ -522,7 +522,7 @@ class MP4Remuxer {
// no audio samples
return;
}
for (i = 0; i < numMissingFrames; i++) {
for (let i = 0; i < numMissingFrames; i++) {
newStamp = ptsnorm - (numMissingFrames - i) * pesFrameDuration;
fillFrame = AAC.getSilentFrame(track.channelCount);
if (!fillFrame) {
Expand Down

0 comments on commit 985b4a5

Please sign in to comment.