decoder/opus: fix mistyped LoadEOSPacket() return value

This commit is contained in:
Max Kellermann 2014-11-11 11:18:51 +01:00
parent 466b6a23cd
commit 7886a14b74
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -9,6 +9,7 @@ ver 0.19.3 (not yet released)
- audiofile: fix crash while playing streams
- audiofile: fix bit rate calculation
- ffmpeg: support opus
- opus: fix bogus duration on streams
* fix distorted audio with soxr resampler
* fix build failure on Mac OS X with non-Apple compilers

View File

@ -188,7 +188,7 @@ LoadEOSPacket(InputStream &is, Decoder *decoder, int serialno,
/* we do this for local files only, because seeking
around remote files is expensive and not worth the
troubl */
return -1;
return false;
const auto old_offset = is.GetOffset();