DecoderControl: fix typo in assertion check
This commit is contained in:
parent
06fb7c671b
commit
dc2e64c92b
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user