Skip to content

Commit

Permalink
fix: syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
adrums86 committed Sep 23, 2024
1 parent 48efdfc commit 31813ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mp4/webvtt-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ const WebVttParser = function() {
// WebVTT Sample format:
// Exactly one VTTEmptyCueBox box
// OR one or more VTTCueBox boxes.
var sampleData = mdatBox.slice(mdatOffset, mdatOffset + sample.size);
const sampleData = mdatBox.slice(mdatOffset, mdatOffset + sample.size);
// single vtte box.
var vtteBox = findBox(sampleData, ['vtte'])[0];
const vtteBox = findBox(sampleData, ['vtte'])[0];

// empty box
if (vtteBox) {
Expand Down

0 comments on commit 31813ba

Please sign in to comment.