Skip to content

Commit

Permalink
fix if statement
Browse files Browse the repository at this point in the history
Nfrederiksen committed Nov 21, 2024
1 parent 492fb87 commit 9cf09fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -479,7 +479,7 @@ class HLSSpliceVod {
}
}
let durationTag = "";
if (opts.plannedDuration) {
if (opts && opts.plannedDuration) {
durationTag = `,DURATION=${opts.plannedDuration / 1000}`;
}
if (isAssetList) {

0 comments on commit 9cf09fe

Please sign in to comment.