diff options
Diffstat (limited to '')
-rw-r--r-- | src/player_thread.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/player_thread.c b/src/player_thread.c index bc325ca00..3302e51a9 100644 --- a/src/player_thread.c +++ b/src/player_thread.c @@ -313,6 +313,8 @@ play_chunk(struct song *song, struct music_chunk *chunk, { bool success; + assert(music_chunk_check_format(chunk, format)); + pc.elapsed_time = chunk->times; pc.bit_rate = chunk->bit_rate; |