From 13e9f18403b98f8123b1b983c4680957d684e47b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 21 Oct 2013 20:36:34 +0200 Subject: DecoderPlugin: move functions into the struct --- src/TagFile.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/TagFile.cxx') 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()); -- cgit v1.2.3