From 6120635f06ecadcc1ab0d59a54b6842a78e11746 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:09 +0200 Subject: 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". --- src/decoder_api.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/decoder_api.h') diff --git a/src/decoder_api.h b/src/decoder_api.h index becaaada..5afa06e7 100644 --- a/src/decoder_api.h +++ b/src/decoder_api.h @@ -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. -- cgit v1.2.3