Skip to content

Commit 2888930

Browse files
committed
chore: fix rust 1.85 build
1 parent 98b1db5 commit 2888930

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
@@ -233,11 +233,12 @@ impl SymphoniaDecoder {
233233

234234
// If we can't get metadata from the container, fall back to other tags found by probing.
235235
// Note that this is only relevant for local files.
236-
if metadata.current().is_none()
237-
&& let Some(ref mut probe_metadata) = self.probed_metadata
238-
&& let Some(inner_probe_metadata) = probe_metadata.get()
239-
{
240-
metadata = inner_probe_metadata;
236+
if metadata.current().is_none() {
237+
if let Some(ref mut probe_metadata) = self.probed_metadata {
238+
if let Some(inner_probe_metadata) = probe_metadata.get() {
239+
metadata = inner_probe_metadata;
240+
}
241+
}
241242
}
242243

243244
// Advance to the latest metadata revision.

0 commit comments

Comments
 (0)