Whitespace fix
Variable definitions should be one-per-line.
Showing
1 changed file
with
4 additions
and
1 deletions
... | @@ -377,7 +377,10 @@ hls.FlvTag.durationFromTags = function(tags) { | ... | @@ -377,7 +377,10 @@ hls.FlvTag.durationFromTags = function(tags) { |
377 | return 0; | 377 | return 0; |
378 | } | 378 | } |
379 | 379 | ||
380 | var first = tags[0], last = tags[tags.length - 1], frameDuration; | 380 | var |
381 | first = tags[0], | ||
382 | last = tags[tags.length - 1], | ||
383 | frameDuration; | ||
381 | 384 | ||
382 | // use the interval between the last two tags or assume 24 fps | 385 | // use the interval between the last two tags or assume 24 fps |
383 | frameDuration = last.pts - tags[tags.length - 2].pts || (1/24); | 386 | frameDuration = last.pts - tags[tags.length - 2].pts || (1/24); | ... | ... |
-
Please register or sign in to post a comment