MusicChunk, player/Thread: use std::unique_ptr<Tag>

This commit is contained in:
Max Kellermann
2017-12-20 14:43:29 +01:00
parent c6a95395b5
commit 25fa3ccade
7 changed files with 21 additions and 30 deletions

View File

@@ -222,7 +222,7 @@ AudioOutputSource::Fill(Mutex &mutex)
if (current_chunk == nullptr)
return false;
pending_tag = current_chunk->tag;
pending_tag = current_chunk->tag.get();
try {
/* release the mutex while the filter runs, because