diff options
Diffstat (limited to '')
-rw-r--r-- | src/decode.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/decode.c b/src/decode.c index b3107cd1d..fb485a90a 100644 --- a/src/decode.c +++ b/src/decode.c @@ -557,10 +557,7 @@ static void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * break; pc->totalPlayTime += sizeToTime * beginChunk->chunkSize; - if ((unsigned)cb->begin + 1 >= buffered_chunks) { - cb->begin = 0; - } else - cb->begin++; + outputBufferShift(cb); player_wakeup_decoder_nb(); } else if (!outputBufferEmpty(cb) && cb->begin == next) { /* at the beginning of a new song */ |