From 718d2f9ef8d96c8d8fea8fa1337df03524ef13be Mon Sep 17 00:00:00 2001 From: Hamir Mahal Date: Thu, 21 Mar 2024 12:46:56 -0700 Subject: [PATCH] refactor: remove unnecessary `Default::default()` --- src/decoder/symphonia.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/decoder/symphonia.rs b/src/decoder/symphonia.rs index 0c4943b9..e571aec7 100644 --- a/src/decoder/symphonia.rs +++ b/src/decoder/symphonia.rs @@ -72,13 +72,8 @@ impl SymphoniaDecoder { None => return Ok(None), }; - let mut decoder = symphonia::default::get_codecs().make( - &stream.codec_params, - &DecoderOptions { - verify: true, - ..Default::default() - }, - )?; + let mut decoder = symphonia::default::get_codecs() + .make(&stream.codec_params, &DecoderOptions { verify: true })?; let mut decode_errors: usize = 0; let decoded = loop {