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