aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 0ac7d4f..dfefb53 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -199,6 +199,10 @@ static shared_ptr<ModOutput> prepare_output(
output = make_shared<OutputFile>(s.outputName);
}
+ else {
+ throw runtime_error("File output format " + s.fileOutputFormat +
+ " not known");
+ }
}
#if defined(HAVE_OUTPUT_UHD)
else if (s.useUHDOutput) {