Don't allow using UTF-8 in ID3v1
This commit is contained in:
parent
b2ceb822fb
commit
e9166c19a5
|
@ -160,7 +160,7 @@ set(META_APP_URL "https://github.com/${META_APP_AUTHOR}/${META_PROJECT_NAME}")
|
|||
set(META_APP_DESCRIPTION "C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags")
|
||||
set(META_VERSION_MAJOR 6)
|
||||
set(META_VERSION_MINOR 1)
|
||||
set(META_VERSION_PATCH 0)
|
||||
set(META_VERSION_PATCH 1)
|
||||
set(META_PUBLIC_SHARED_LIB_DEPENDS c++utilities)
|
||||
set(META_PUBLIC_STATIC_LIB_DEPENDS c++utilities_static)
|
||||
set(META_PRIVATE_COMPILE_DEFINITIONS LEGACY_API)
|
||||
|
|
|
@ -35,7 +35,7 @@ const char *Id3v1Tag::typeName() const
|
|||
|
||||
bool Id3v1Tag::canEncodingBeUsed(TagTextEncoding encoding) const
|
||||
{
|
||||
return (encoding == TagTextEncoding::Latin1) || (encoding == TagTextEncoding::Utf8);
|
||||
return Tag::canEncodingBeUsed(encoding);
|
||||
}
|
||||
|
||||
/*!
|
||||
|
|
Loading…
Reference in New Issue