From 1fe99a0fa4900cb9337b6318a150fd72e81698e2 Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Mon, 12 Oct 2020 20:18:03 +0200 Subject: [PATCH] Fixes a bug with an invalid command for audio conversion --- .../net/knarcraft/ffmpegconverter/converter/AudioConverter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/knarcraft/ffmpegconverter/converter/AudioConverter.java b/src/main/java/net/knarcraft/ffmpegconverter/converter/AudioConverter.java index 3d8916f..fa63110 100644 --- a/src/main/java/net/knarcraft/ffmpegconverter/converter/AudioConverter.java +++ b/src/main/java/net/knarcraft/ffmpegconverter/converter/AudioConverter.java @@ -35,6 +35,7 @@ public class AudioConverter extends AbstractConverter { //Gets the first audio stream from the file and adds it to the output file AudioStream audioStream = getFirstAudioSteam(streams); FFMpegHelper.addAudioStream(command, audioStream, false); + command.add(outFile); return command.toArray(new String[0]); }