decoder/List: use struct ConfigData

This commit is contained in:
Max Kellermann
2018-07-17 21:31:06 +02:00
parent 9fe0585056
commit 57d77cc8a0
7 changed files with 14 additions and 10 deletions

View File

@@ -20,6 +20,7 @@
#include "config.h"
#include "DetachedSong.hxx"
#include "SongSave.hxx"
#include "config/Data.hxx"
#include "decoder/DecoderList.hxx"
#include "decoder/DecoderPlugin.hxx"
#include "fs/Path.hxx"
@@ -68,7 +69,7 @@ try {
const Path path = Path::FromFS(argv[1]);
decoder_plugin_init_all();
decoder_plugin_init_all(ConfigData());
const auto *plugin = FindContainerDecoderPlugin(path);
if (plugin == nullptr) {