aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--NEWS2
-rw-r--r--src/input/AsyncInputStream.cxx5
2 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 54cf71f1e..0de0a829c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,6 @@
ver 0.19.3 (not yet released)
+* decoder
+ - audiofile: fix crash while playing streams
ver 0.19.2 (2014/11/02)
* input
diff --git a/src/input/AsyncInputStream.cxx b/src/input/AsyncInputStream.cxx
index d34ba2ff3..c8e3fcfd5 100644
--- a/src/input/AsyncInputStream.cxx
+++ b/src/input/AsyncInputStream.cxx
@@ -19,6 +19,7 @@
#include "config.h"
#include "AsyncInputStream.hxx"
+#include "Domain.hxx"
#include "tag/Tag.hxx"
#include "event/Call.hxx"
#include "thread/Cond.hxx"
@@ -113,8 +114,10 @@ AsyncInputStream::Seek(offset_type new_offset, Error &error)
/* no-op */
return true;
- if (!IsSeekable())
+ if (!IsSeekable()) {
+ error.Set(input_domain, "Not seekable");
return false;
+ }
/* check if we can fast-forward the buffer */