Skip to content

Commit cefb123

Browse files
authored
Merge pull request #568 from YXL76/patch-1
fix: no variant found for `source::SeekError`
2 parents 818f557 + 85c35c3 commit cefb123

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/source/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,9 @@ impl SeekError {
423423
pub fn source_intact(&self) -> bool {
424424
match self {
425425
SeekError::NotSupported { .. } => true,
426+
#[cfg(feature = "symphonia")]
426427
SeekError::SymphoniaDecoder(_) => false,
428+
#[cfg(feature = "wav")]
427429
SeekError::HoundDecoder(_) => false,
428430
SeekError::Other(_) => false,
429431
}

0 commit comments

Comments
 (0)