From: Kostya Shishkov Date: Sun, 1 Oct 2023 16:03:50 +0000 (+0200) Subject: exit in case muxer is not found X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=becae00f03741a8c5cd45e466285f393b582131a;p=nihav-encoder.git exit in case muxer is not found --- diff --git a/src/main.rs b/src/main.rs index 501767d..e800ec0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1295,6 +1295,7 @@ fn main() { if ret.is_none() { println!("cannot find muxer '{}'", output_fmt); + return; } let mux_creator = ret.unwrap();