mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +00:00
Defensive: handle null/undefined ffmpeg args
This commit is contained in:
@ -87,7 +87,7 @@ const toMP3 = async (
|
||||
await ffmpeg.run(
|
||||
"-i",
|
||||
safeVideoName,
|
||||
...options.ffmpegArgs,
|
||||
...(options.ffmpegArgs || []),
|
||||
safeVideoName + ".mp3"
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user