nihav_register_all_codecs was renamed
authorKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 9 Jul 2020 16:58:02 +0000 (18:58 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 9 Jul 2020 16:58:02 +0000 (18:58 +0200)
src/main.rs

index 76e720e..cba0b05 100644 (file)
@@ -163,7 +163,7 @@ println!("trying demuxer {} on {}", dmx_name, name);
     let mut dmx_reg = RegisteredDemuxers::new();
     nihav_register_all_demuxers(&mut dmx_reg);
     let mut dec_reg = RegisteredDecoders::new();
-    nihav_register_all_codecs(&mut dec_reg);
+    nihav_register_all_decoders(&mut dec_reg);
 
     dmx_fact = dmx_reg.find_demuxer(dmx_name).unwrap();
     br.seek(SeekFrom::Start(0)).unwrap();