Skip to content

Commit

Permalink
Merge pull request video-dev#1518 from jon-valliere/master
Browse files Browse the repository at this point in the history
fixes lint style error; travis: 42 passing
  • Loading branch information
mangui authored Jan 23, 2018
2 parents 8cf5dd4 + b7be9d8 commit 9f1bae2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/remux/mp4-remuxer.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,9 @@ class MP4Remuxer {

const isSafari = this.isSafari;

if(inputSamples.length == 0)
return null;
if(nbSamples === 0){
return;
}

// Safari does not like overlapping DTS on consecutive fragments. let's use nextAvcDts to overcome this if fragments are consecutive
if (isSafari) {
Expand Down

0 comments on commit 9f1bae2

Please sign in to comment.