From becae00f03741a8c5cd45e466285f393b582131a Mon Sep 17 00:00:00 2001
From: Kostya Shishkov <kostya.shishkov@gmail.com>
Date: Sun, 1 Oct 2023 18:03:50 +0200
Subject: [PATCH] exit in case muxer is not found

---
 src/main.rs | 1 +
 1 file changed, 1 insertion(+)

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();
 
-- 
2.39.5