Skip to content

Commit afc3ba7

Browse files
authored
Update 1024-video-stitching.js
1 parent bdfa9a9 commit afc3ba7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

1024-video-stitching.js

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66
const videoStitching = function (clips, T) {
77
clips.sort((a, b) => a[0] - b[0])
8+
if(T === 0) return 0
89
let laststart = -1,
910
curend = 0,
1011
count = 0

0 commit comments

Comments
 (0)