mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-29 09:40:02 +01:00
TagReaderTagLib: Initialize cover_format
This commit is contained in:
parent
8ee32dfa88
commit
3bcea249ac
@ -1300,7 +1300,7 @@ void TagReaderTagLib::SetEmbeddedArt(TagLib::MP4::File *aac_file, TagLib::MP4::T
|
|||||||
if (tag->contains("covr")) tag->removeItem("covr");
|
if (tag->contains("covr")) tag->removeItem("covr");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
TagLib::MP4::CoverArt::Format cover_format;
|
TagLib::MP4::CoverArt::Format cover_format = TagLib::MP4::CoverArt::Format::JPEG;
|
||||||
if (mime_type == "image/jpeg") {
|
if (mime_type == "image/jpeg") {
|
||||||
cover_format = TagLib::MP4::CoverArt::Format::JPEG;
|
cover_format = TagLib::MP4::CoverArt::Format::JPEG;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user