aboutsummaryrefslogtreecommitdiffstats
path: root/src/TagFile.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-21 20:36:34 +0200
committerMax Kellermann <max@duempel.org>2013-10-21 21:08:12 +0200
commit13e9f18403b98f8123b1b983c4680957d684e47b (patch)
treeef732995e8bbad81f41597fab84c5640004f22fd /src/TagFile.cxx
parent875821f2ba0beeb9556962a536c4c0011913ff15 (diff)
downloadmpd-13e9f18403b98f8123b1b983c4680957d684e47b.tar.gz
mpd-13e9f18403b98f8123b1b983c4680957d684e47b.tar.xz
mpd-13e9f18403b98f8123b1b983c4680957d684e47b.zip
DecoderPlugin: move functions into the struct
Diffstat (limited to 'src/TagFile.cxx')
-rw-r--r--src/TagFile.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/TagFile.cxx b/src/TagFile.cxx
index 70e92e73f..c26bdecde 100644
--- a/src/TagFile.cxx
+++ b/src/TagFile.cxx
@@ -53,8 +53,8 @@ tag_file_scan(const char *path_fs,
do {
/* load file tag */
- if (decoder_plugin_scan_file(*plugin, path_fs,
- handler, handler_ctx))
+ if (plugin->ScanFile(path_fs,
+ *handler, handler_ctx))
break;
/* fall back to stream tag */
@@ -67,9 +67,8 @@ tag_file_scan(const char *path_fs,
/* now try the stream_tag() method */
if (is != nullptr) {
- if (decoder_plugin_scan_stream(*plugin, is,
- handler,
- handler_ctx))
+ if (plugin->ScanStream(*is,
+ *handler, handler_ctx))
break;
is->LockSeek(0, SEEK_SET, IgnoreError());