input/InputStream: ReadTag() returns std::unique_ptr<Tag>

This commit is contained in:
Max Kellermann
2017-12-20 15:15:27 +01:00
parent 4c4fa68268
commit 73e69edac3
11 changed files with 41 additions and 37 deletions

@@ -223,7 +223,7 @@ bool
DecoderBridge::UpdateStreamTag(InputStream *is)
{
auto *tag = is != nullptr
? is->LockReadTag()
? is->LockReadTag().release()
: nullptr;
if (tag == nullptr) {
tag = song_tag;