summaryrefslogtreecommitdiff
path: root/src/TagFile.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-10-02 21:43:40 +0200
committerMax Kellermann <max@duempel.org>2014-10-02 21:43:40 +0200
commite0e65cbdf9a82b6fe8b99aa310ccc50946826cb8 (patch)
tree3693c4e51881e949ca86acd799aeca13a6b92040 /src/TagFile.cxx
parent9d2d58c4b6be87bb2268a5a738d2dccb484b1d89 (diff)
TagFile: use OpenLocalInputStream()
Diffstat (limited to 'src/TagFile.cxx')
-rw-r--r--src/TagFile.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/TagFile.cxx b/src/TagFile.cxx
index 84faa848a..7655b96ff 100644
--- a/src/TagFile.cxx
+++ b/src/TagFile.cxx
@@ -25,6 +25,7 @@
#include "decoder/DecoderList.hxx"
#include "decoder/DecoderPlugin.hxx"
#include "input/InputStream.hxx"
+#include "input/LocalOpen.hxx"
#include "thread/Cond.hxx"
#include <assert.h>
@@ -61,9 +62,9 @@ public:
/* open the InputStream (if not already open) */
if (is == nullptr) {
- is = InputStream::OpenReady(path_fs.c_str(),
- mutex, cond,
- IgnoreError());
+ is = OpenLocalInputStream(path_fs,
+ mutex, cond,
+ IgnoreError());
if (is == nullptr)
return false;
} else