DecoderControl: fix typo in assertion check

This commit is contained in:
Max Kellermann 2013-01-23 18:02:40 +01:00
parent 06fb7c671b
commit dc2e64c92b

View File

@ -113,9 +113,9 @@ decoder_control::Start(struct song *_song,
music_buffer *_buffer, music_pipe *_pipe)
{
assert(_song != NULL);
assert(buffer != NULL);
assert(pipe != NULL);
assert(music_pipe_empty(pipe));
assert(_buffer != NULL);
assert(_pipe != NULL);
assert(music_pipe_empty(_pipe));
if (song != nullptr)
song_free(song);