Decoder*: add more assertions

This commit is contained in:
Max Kellermann
2014-09-07 21:50:27 +02:00
parent a6bb27483b
commit e3a0f15837
2 changed files with 7 additions and 0 deletions

View File

@@ -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);