Commit dc2e64c9 authored by Max Kellermann's avatar Max Kellermann

DecoderControl: fix typo in assertion check

parent 06fb7c67
...@@ -113,9 +113,9 @@ decoder_control::Start(struct song *_song, ...@@ -113,9 +113,9 @@ decoder_control::Start(struct song *_song,
music_buffer *_buffer, music_pipe *_pipe) music_buffer *_buffer, music_pipe *_pipe)
{ {
assert(_song != NULL); assert(_song != NULL);
assert(buffer != NULL); assert(_buffer != NULL);
assert(pipe != NULL); assert(_pipe != NULL);
assert(music_pipe_empty(pipe)); assert(music_pipe_empty(_pipe));
if (song != nullptr) if (song != nullptr)
song_free(song); song_free(song);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment