diff --git a/crates/ec-dvbsub/src/lib.rs b/crates/ec-dvbsub/src/lib.rs index cf713ddd..f314302c 100644 --- a/crates/ec-dvbsub/src/lib.rs +++ b/crates/ec-dvbsub/src/lib.rs @@ -610,10 +610,6 @@ impl Decoder for DvbSubDecoder { } } -/// A DVB subtitle decoder as the family's registry hands one out. -pub fn make_decoder(_params: &CodecParameters) -> Result> { - Ok(Box::new(DvbSubDecoder::new())) -} #[cfg(test)] mod tests { diff --git a/crates/ec-dvdsub/src/lib.rs b/crates/ec-dvdsub/src/lib.rs index 5f09bd71..677a1c3a 100644 --- a/crates/ec-dvdsub/src/lib.rs +++ b/crates/ec-dvdsub/src/lib.rs @@ -542,10 +542,6 @@ impl Decoder for DvdSubDecoder { } } -/// A DVD subpicture decoder as the family's registry hands one out. -pub fn make_decoder(params: &CodecParameters) -> Result> { - Ok(Box::new(DvdSubDecoder::new(params.extradata.as_deref()))) -} #[cfg(test)] mod tests { diff --git a/crates/ec-pgs/src/lib.rs b/crates/ec-pgs/src/lib.rs index 85c41b33..55880f33 100644 --- a/crates/ec-pgs/src/lib.rs +++ b/crates/ec-pgs/src/lib.rs @@ -519,10 +519,6 @@ impl Decoder for PgsDecoder { } } -/// A PGS decoder as the family's registry hands one out. -pub fn make_decoder(_params: &CodecParameters) -> Result> { - Ok(Box::new(PgsDecoder::new())) -} /// One palette entry: BT.601 Y'CbCr with straight alpha, the way a disc writes /// it, into RGBA.