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 --- test/read_tags.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'test/read_tags.cxx') diff --git a/test/read_tags.cxx b/test/read_tags.cxx index c7756524f..a3d48be47 100644 --- a/test/read_tags.cxx +++ b/test/read_tags.cxx @@ -181,8 +181,7 @@ int main(int argc, char **argv) return 1; } - bool success = decoder_plugin_scan_file(*plugin, path, - &print_handler, NULL); + bool success = plugin->ScanFile(path, print_handler, nullptr); if (!success && plugin->scan_stream != NULL) { Mutex mutex; Cond cond; @@ -209,8 +208,7 @@ int main(int argc, char **argv) mutex.unlock(); - success = decoder_plugin_scan_stream(*plugin, is, - &print_handler, NULL); + success = plugin->ScanStream(*is, print_handler, nullptr); is->Close(); } -- cgit v1.2.3