aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderControl.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-23 18:02:40 +0100
committerMax Kellermann <max@duempel.org>2013-01-23 18:02:40 +0100
commitdc2e64c92b5a61f4c578b5d4c6017b0d5b8037ff (patch)
treeaadd1baac6698d5915980fcba4584e65858508cc /src/DecoderControl.cxx
parent06fb7c671bb97a467e34a3d89c2527e342706245 (diff)
downloadmpd-dc2e64c92b5a61f4c578b5d4c6017b0d5b8037ff.tar.gz
mpd-dc2e64c92b5a61f4c578b5d4c6017b0d5b8037ff.tar.xz
mpd-dc2e64c92b5a61f4c578b5d4c6017b0d5b8037ff.zip
DecoderControl: fix typo in assertion check
Diffstat (limited to 'src/DecoderControl.cxx')
-rw-r--r--src/DecoderControl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DecoderControl.cxx b/src/DecoderControl.cxx
index f4dbe48d5..3661beaff 100644
--- a/src/DecoderControl.cxx
+++ b/src/DecoderControl.cxx
@@ -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);