added decoder_plugin_register()

With the functions decoder_plugin_register() and
decoder_plugin_unregister(), decoder plugins can register a
"secondary" plugin, like the flac input plugin does this for
"oggflac".
This commit is contained in:
Max Kellermann
2008-08-26 08:27:09 +02:00
parent a68ef497f5
commit 6120635f06
3 changed files with 16 additions and 2 deletions

View File

@@ -87,6 +87,10 @@ struct decoder_plugin {
};
void decoder_plugin_register(struct decoder_plugin *plugin);
void decoder_plugin_unregister(struct decoder_plugin *plugin);
/**
* Opaque handle which the decoder plugin passes to the functions in
* this header.