TagFile: use OpenLocalInputStream()
This commit is contained in:
parent
9d2d58c4b6
commit
e0e65cbdf9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user