Skip to content

Commit 33a8b77

Browse files
committed
chore: fix rust 1.85 build
1 parent 76dafc9 commit 33a8b77

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

playback/src/decoder/symphonia_decoder.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -237,11 +237,12 @@ impl SymphoniaDecoder {
237237

238238
// If we can't get metadata from the container, fall back to other tags found by probing.
239239
// Note that this is only relevant for local files.
240-
if metadata.current().is_none()
241-
&& let Some(ref mut probe_metadata) = self.probed_metadata
242-
&& let Some(inner_probe_metadata) = probe_metadata.get()
243-
{
244-
metadata = inner_probe_metadata;
240+
if metadata.current().is_none() {
241+
if let Some(ref mut probe_metadata) = self.probed_metadata {
242+
if let Some(inner_probe_metadata) = probe_metadata.get() {
243+
metadata = inner_probe_metadata;
244+
}
245+
}
245246
}
246247

247248
// Advance to the latest metadata revision.

0 commit comments

Comments
 (0)