1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-28 09:10:58 +01:00

TagReaderTagLib: Initialize cover_format

This commit is contained in:
Jonas Kvinge 2023-06-06 23:19:25 +02:00
parent 8ee32dfa88
commit 3bcea249ac

View File

@ -1300,7 +1300,7 @@ void TagReaderTagLib::SetEmbeddedArt(TagLib::MP4::File *aac_file, TagLib::MP4::T
if (tag->contains("covr")) tag->removeItem("covr");
}
else {
TagLib::MP4::CoverArt::Format cover_format;
TagLib::MP4::CoverArt::Format cover_format = TagLib::MP4::CoverArt::Format::JPEG;
if (mime_type == "image/jpeg") {
cover_format = TagLib::MP4::CoverArt::Format::JPEG;
}