mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-22 10:22:31 +01:00
fix crash
This commit is contained in:
parent
6ca9f3d2db
commit
4c14cde1d1
@ -504,6 +504,11 @@ const App = memo(() => {
|
||||
|
||||
const segments = invertCutSegments ? inverseCutSegments : apparentCutSegments;
|
||||
|
||||
if (!segments) {
|
||||
errorToast('No segments to export!');
|
||||
return;
|
||||
}
|
||||
|
||||
const ffmpegSegments = segments.map((seg) => ({
|
||||
cutFrom: seg.start,
|
||||
cutTo: seg.end,
|
||||
|
Loading…
Reference in New Issue
Block a user