Skip to content

Commit

Permalink
Fix failure when FFmpeg folder is null
Browse files Browse the repository at this point in the history
It shouldn't be null anymore
  • Loading branch information
skycatminepokie committed Jan 14, 2025
1 parent daea527 commit 65dee14
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import net.bramp.ffmpeg.FFmpeg;
import net.bramp.ffmpeg.FFprobe;
import net.minecraft.text.Text;
import org.jetbrains.annotations.Nullable;

import java.io.File;
import java.io.IOException;
Expand Down Expand Up @@ -67,10 +66,10 @@ public FFprobe getFFprobe() throws IOException {
}

public ExportConfig(String format, String nameFormat, boolean keepOld) {
this(format, nameFormat, keepOld, null);
this(format, nameFormat, keepOld, "");
}

public ExportConfig(String format, String nameFormat, boolean keepOld, @Nullable String ffmpegFolder) {
public ExportConfig(String format, String nameFormat, boolean keepOld, String ffmpegFolder) {
this.format = format;
this.nameFormat = nameFormat;
this.keepOld = keepOld;
Expand Down

0 comments on commit 65dee14

Please sign in to comment.