Music{Pipe,Chunk}: use MusicChunkPtr for the list links

This commit is contained in:
Max Kellermann
2018-06-23 17:58:42 +02:00
parent 88f1233d7b
commit 076be809c2
4 changed files with 12 additions and 16 deletions

View File

@@ -33,7 +33,7 @@ SharedPipeConsumer::Get() noexcept
return nullptr;
consumed = false;
return chunk = chunk->next;
return chunk = chunk->next.get();
} else {
/* get the first chunk from the pipe */
consumed = false;