diff options
Diffstat (limited to '')
-rw-r--r-- | src/decoder_control.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/decoder_control.c b/src/decoder_control.c index 4e7ade22c..7aa80c2c6 100644 --- a/src/decoder_control.c +++ b/src/decoder_control.c @@ -60,6 +60,7 @@ static void dc_command_async(enum decoder_command cmd) void dc_start(struct notify *notify, struct song *song) { + assert(dc.pipe != NULL); assert(song != NULL); dc.next_song = song; @@ -69,6 +70,7 @@ dc_start(struct notify *notify, struct song *song) void dc_start_async(struct song *song) { + assert(dc.pipe != NULL); assert(song != NULL); dc.next_song = song; |