diff options
author | Max Kellermann <max@duempel.org> | 2014-09-07 21:50:27 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-09-07 21:52:34 +0200 |
commit | e3a0f158376a38abb2eb9aa4a67b155ff9da6ffe (patch) | |
tree | 9ff83952cc09edfd6e1f42a1f148e10b46525983 /src/DecoderInternal.cxx | |
parent | a6bb27483b30f81145c19d1048a342c0aa5401d0 (diff) | |
download | mpd-e3a0f158376a38abb2eb9aa4a67b155ff9da6ffe.tar.gz mpd-e3a0f158376a38abb2eb9aa4a67b155ff9da6ffe.tar.xz mpd-e3a0f158376a38abb2eb9aa4a67b155ff9da6ffe.zip |
Decoder*: add more assertions
Diffstat (limited to '')
-rw-r--r-- | src/DecoderInternal.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/DecoderInternal.cxx b/src/DecoderInternal.cxx index d5f40ad48..b5e6c9d57 100644 --- a/src/DecoderInternal.cxx +++ b/src/DecoderInternal.cxx @@ -83,6 +83,9 @@ void decoder_flush_chunk(Decoder &decoder) { DecoderControl &dc = decoder.dc; + assert(!decoder.seeking); + assert(!decoder.initial_seek_running); + assert(!decoder.initial_seek_pending); assert(decoder.chunk != nullptr); |