Merge pull request #568 from YXL76/patch-1

fix: no variant found for `source::SeekError`
This commit is contained in:
David Kleingeld 2024-04-13 20:09:24 +02:00 committed by GitHub
commit cefb123311
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -423,7 +423,9 @@ impl SeekError {
pub fn source_intact(&self) -> bool {
match self {
SeekError::NotSupported { .. } => true,
#[cfg(feature = "symphonia")]
SeekError::SymphoniaDecoder(_) => false,
#[cfg(feature = "wav")]
SeekError::HoundDecoder(_) => false,
SeekError::Other(_) => false,
}