diff --git a/src/mixer_api.c b/src/mixer_api.c index 9dc3e3b09..e5919627f 100644 --- a/src/mixer_api.c +++ b/src/mixer_api.c @@ -47,7 +47,7 @@ mixer_new(const struct mixer_plugin *plugin, const struct config_param *param) mixer = plugin->init(param); - assert(mixer->plugin == plugin); + assert(mixer == NULL || mixer->plugin == plugin); return mixer; }