summaryrefslogtreecommitdiff
path: root/src/decoder/Bridge.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-12-20 15:15:27 +0100
committerMax Kellermann <max@musicpd.org>2017-12-20 15:22:18 +0100
commit73e69edac3fc6960d6bf89fca420c27f83b95d8e (patch)
tree115f6af724867749be4223fb3a33779bbe3723c8 /src/decoder/Bridge.cxx
parent4c4fa68268509cd4700c139d23865b003c1ba16e (diff)
input/InputStream: ReadTag() returns std::unique_ptr<Tag>
Diffstat (limited to 'src/decoder/Bridge.cxx')
-rw-r--r--src/decoder/Bridge.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/Bridge.cxx b/src/decoder/Bridge.cxx
index 0bd6d9e1c..d4038f0ac 100644
--- a/src/decoder/Bridge.cxx
+++ b/src/decoder/Bridge.cxx
@@ -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;