Commit b9bccd11 authored by linkmauve's avatar linkmauve Committed by Luca Barbato
Browse files

Use `dyn` for a dynamic trait

`Muxer` is a trait, and passing dynamic traits without the `dyn` keyword is now deprecated.
parent 12f041fc
......@@ -109,7 +109,7 @@ fn write_stats_file<T: Pixel>(ctx: &Context<T>, filename: &Path) -> Result<(), i
fn do_encode<T: Pixel, D: Decoder>(
cfg: Config, verbose: bool, mut progress: ProgressInfo,
output: &mut Muxer,
output: &mut dyn Muxer,
source: &mut Source<D>,
mut y4m_enc: Option<y4m::Encoder<'_, Box<dyn Write>>>
) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment