mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
true/false don't need to be explicit
Co-authored-by: Johannesd3 <51954457+Johannesd3@users.noreply.github.com>
This commit is contained in:
parent
8dc1e80633
commit
86dbaa8ed5
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ impl<R: Read + Seek> AudioDecoder for PassthroughDecoder<R> {
|
|||
info!("Seeking to {}", ms);
|
||||
|
||||
// add an eos to previous stream if missing
|
||||
if self.bos == true && self.eos == false {
|
||||
if self.bos && !self.eos {
|
||||
match self.rdr.read_packet() {
|
||||
Ok(Some(pck)) => {
|
||||
let absgp_page = pck.absgp_page() - self.ofsgp_page;
|
||||
|
|
Loading…
Reference in a new issue