TagReaderTagLib: Initialize cover_format

This commit is contained in:
Jonas Kvinge 2023-06-06 23:19:25 +02:00
parent 8ee32dfa88
commit 3bcea249ac
1 changed files with 1 additions and 1 deletions

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;
}