Commit e0e65cbd authored by Max Kellermann's avatar Max Kellermann

TagFile: use OpenLocalInputStream()

parent 9d2d58c4
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include "decoder/DecoderList.hxx" #include "decoder/DecoderList.hxx"
#include "decoder/DecoderPlugin.hxx" #include "decoder/DecoderPlugin.hxx"
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include "input/LocalOpen.hxx"
#include "thread/Cond.hxx" #include "thread/Cond.hxx"
#include <assert.h> #include <assert.h>
...@@ -61,9 +62,9 @@ public: ...@@ -61,9 +62,9 @@ public:
/* open the InputStream (if not already open) */ /* open the InputStream (if not already open) */
if (is == nullptr) { if (is == nullptr) {
is = InputStream::OpenReady(path_fs.c_str(), is = OpenLocalInputStream(path_fs,
mutex, cond, mutex, cond,
IgnoreError()); IgnoreError());
if (is == nullptr) if (is == nullptr)
return false; return false;
} else } else
......
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