Fix fmt check error

This commit is contained in:
fivebanger 2024-09-19 00:21:27 +02:00 committed by GitHub
parent ce03deb6ca
commit ad19c2aa96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -920,7 +920,7 @@ impl PlayerTrackLoader {
AudioFileFormat::FLAC_FLAC => 112, // assume 900 kbit/s on average
AudioFileFormat::UNKNOWN_FORMAT => {
error!("Unknown stream data rate");
return None
return None;
}
};
Some(kbps * 1024)