aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/jack_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/jack_plugin.c')
-rw-r--r--src/output/jack_plugin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/output/jack_plugin.c b/src/output/jack_plugin.c
index 2e93d2ec8..1aea92d86 100644
--- a/src/output/jack_plugin.c
+++ b/src/output/jack_plugin.c
@@ -190,6 +190,9 @@ mpd_jack_init(struct audio_output *ao,
jd->output_ports[1] = ports[1];
g_free(ports);
+ } else {
+ jd->output_ports[0] = NULL;
+ jd->output_ports[1] = NULL;
}
jd->ringbuffer_size =