silently ignore decoders that are neither audio nor video
authorKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 9 Jul 2020 08:44:52 +0000 (10:44 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 9 Jul 2020 08:44:52 +0000 (10:44 +0200)
src/main.rs

index 79212fdaa8e2d9051d3ae568db4579668b732a89..76e720ef3e46ed304522f592c918f07ef88e6c92 100644 (file)
@@ -230,7 +230,6 @@ println!("stream {} - {} {}", i, s, info.get_name());
             }
         } else {
             decs.push(None);
             }
         } else {
             decs.push(None);
-panic!("decoder {} not found", info.get_name());
         }
         if !has_out {
             writers.push(Outputter::None);
         }
         if !has_out {
             writers.push(Outputter::None);