aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-03-16 09:40:07 +0100
committerMax Kellermann <max@duempel.org>2014-03-16 09:41:03 +0100
commit4a5cc9f610defd451ba0aefd1451f1ba310b43e3 (patch)
treead1657f164eed31dbe190436e25395b7302a09d0
parente29fc62b6845e689fa83b8ade1e10aa8f3b91964 (diff)
downloadmpd-4a5cc9f610defd451ba0aefd1451f1ba310b43e3.tar.gz
mpd-4a5cc9f610defd451ba0aefd1451f1ba310b43e3.tar.xz
mpd-4a5cc9f610defd451ba0aefd1451f1ba310b43e3.zip
test/run_decoder: use InputStream::OpenReady() instead of InputStream::Open()
-rw-r--r--test/run_decoder.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_decoder.cxx b/test/run_decoder.cxx
index 0c1a4f824..58731d5a5 100644
--- a/test/run_decoder.cxx
+++ b/test/run_decoder.cxx
@@ -218,7 +218,7 @@ int main(int argc, char **argv)
Cond cond;
InputStream *is =
- InputStream::Open(decoder.uri, mutex, cond, error);
+ InputStream::OpenReady(decoder.uri, mutex, cond, error);
if (is == NULL) {
if (error.IsDefined())
LogError(error);