Commit e766ae43 authored by Sandrine Avakian's avatar Sandrine Avakian

Update init function to use MSFactory.

parent 2af36000
......@@ -329,9 +329,9 @@ extern MSFilterDesc ms_silk_dec_desc;
#define MS_PLUGIN_DECLARE(type) type
#endif
MS_PLUGIN_DECLARE ( void ) libmssilk_init() {
ms_filter_register ( &ms_silk_enc_desc );
ms_filter_register ( &ms_silk_dec_desc );
MS_PLUGIN_DECLARE ( void ) libmssilk_init(MSFactory* factory) {
ms_factory_register_filter(factory, &ms_silk_enc_desc );
ms_factory_register_filter(factory, &ms_silk_dec_desc );
ms_message ( " libmssilk " VERSION " plugin loaded" );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment