aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer_api.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mixer_api.c2
1 files changed, 1 insertions, 1 deletions
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;
}