musikr: fix file_shim linking

This commit is contained in:
Alexander Capehart 2025-02-19 10:46:27 -07:00
parent c91286826f
commit 11ab27df97
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47

View file

@ -2,8 +2,8 @@
namespace taglib_shim
{
std::unique_ptr<TagLib::FileRef> new_FileRef(std::unique_ptr<TagLib::IOStream> stream) {
return std::make_unique<TagLib::FileRef>(stream.release());
std::unique_ptr<TagLib::FileRef> new_FileRef(TagLib::IOStream *stream) {
return std::make_unique<TagLib::FileRef>(stream);
}
TagLib::Ogg::Vorbis::File *File_asVorbis(TagLib::File *file)