aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer/oss_mixer.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mixer/oss_mixer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mixer/oss_mixer.c b/src/mixer/oss_mixer.c
index 75f1f5a0b..3f4b290d9 100644
--- a/src/mixer/oss_mixer.c
+++ b/src/mixer/oss_mixer.c
@@ -52,6 +52,10 @@ oss_mixer_configure(struct mixer_data *data, ConfigParam *param)
{
struct oss_mixer *om = (struct oss_mixer *) data;
BlockParam *bp;
+
+ if (param == NULL)
+ return;
+
bp = getBlockParam(param, "mixer_device");
if (bp) {
if (om->device)