aboutsummaryrefslogtreecommitdiffstats
path: root/src/input
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-29 23:36:58 +0100
committerMax Kellermann <max@duempel.org>2013-01-30 15:30:19 +0100
commit16afdfd8747a1bd5af2d1acb4e0845bf9d0b89e7 (patch)
tree39afbcabd53af0000a8b200301bbfc1178fdadd5 /src/input
parent701fff03d27be629f416534744217eadbde11da4 (diff)
downloadmpd-16afdfd8747a1bd5af2d1acb4e0845bf9d0b89e7.tar.gz
mpd-16afdfd8747a1bd5af2d1acb4e0845bf9d0b89e7.tar.xz
mpd-16afdfd8747a1bd5af2d1acb4e0845bf9d0b89e7.zip
ArchivePlugin: move instance methods to class ArchiveFile
Diffstat (limited to 'src/input')
-rw-r--r--src/input/ArchiveInputPlugin.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/ArchiveInputPlugin.cxx b/src/input/ArchiveInputPlugin.cxx
index fde817da7..0d856527f 100644
--- a/src/input/ArchiveInputPlugin.cxx
+++ b/src/input/ArchiveInputPlugin.cxx
@@ -22,6 +22,7 @@
#include "ArchiveLookup.hxx"
#include "ArchiveList.hxx"
#include "ArchivePlugin.hxx"
+#include "ArchiveFile.hxx"
#include "InputPlugin.hxx"
#include <glib.h>
@@ -69,10 +70,9 @@ input_archive_open(const char *pathname,
}
//setup fileops
- is = archive_file_open_stream(file, filename, mutex, cond,
- error_r);
- archive_file_close(file);
+ is = file->OpenStream(filename, mutex, cond, error_r);
g_free(pname);
+ file->Close();
return is;
}