Commit 7886a14b authored by Max Kellermann's avatar Max Kellermann

decoder/opus: fix mistyped LoadEOSPacket() return value

parent 466b6a23
...@@ -9,6 +9,7 @@ ver 0.19.3 (not yet released) ...@@ -9,6 +9,7 @@ ver 0.19.3 (not yet released)
- audiofile: fix crash while playing streams - audiofile: fix crash while playing streams
- audiofile: fix bit rate calculation - audiofile: fix bit rate calculation
- ffmpeg: support opus - ffmpeg: support opus
- opus: fix bogus duration on streams
* fix distorted audio with soxr resampler * fix distorted audio with soxr resampler
* fix build failure on Mac OS X with non-Apple compilers * fix build failure on Mac OS X with non-Apple compilers
......
...@@ -188,7 +188,7 @@ LoadEOSPacket(InputStream &is, Decoder *decoder, int serialno, ...@@ -188,7 +188,7 @@ LoadEOSPacket(InputStream &is, Decoder *decoder, int serialno,
/* we do this for local files only, because seeking /* we do this for local files only, because seeking
around remote files is expensive and not worth the around remote files is expensive and not worth the
troubl */ troubl */
return -1; return false;
const auto old_offset = is.GetOffset(); const auto old_offset = is.GetOffset();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment