diff options
Diffstat (limited to 'src/decoder_list.c')
-rw-r--r-- | src/decoder_list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder_list.c b/src/decoder_list.c index 252418154..57a013ec9 100644 --- a/src/decoder_list.c +++ b/src/decoder_list.c @@ -41,7 +41,7 @@ void decoder_plugin_load(struct decoder_plugin * inputPlugin) if (!inputPlugin->name) return; - if (inputPlugin->init != NULL && inputPlugin->init() < 0) + if (inputPlugin->init != NULL && !inputPlugin->init()) return; insertInList(inputPlugin_list, inputPlugin->name, (void *)inputPlugin); |