exit in case muxer is not found
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 1 Oct 2023 16:03:50 +0000 (18:03 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 1 Oct 2023 16:03:50 +0000 (18:03 +0200)
src/main.rs

index 501767d6749e933453221d8e5e11053aa196ee25..e800ec0ae3313556c8a5b08e0b53212a450d3c9a 100644 (file)
@@ -1295,6 +1295,7 @@ fn main() {
 
     if ret.is_none() {
         println!("cannot find muxer '{}'", output_fmt);
+        return;
     }
     let mux_creator = ret.unwrap();