Fix typo in ContainerFormat enum
This commit is contained in:
parent
60385aa347
commit
6f321b7b00
|
@ -193,7 +193,7 @@ startParsingSignature:
|
||||||
|
|
||||||
// parse signature
|
// parse signature
|
||||||
switch ((m_containerFormat = parseSignature(buff, sizeof(buff)))) {
|
switch ((m_containerFormat = parseSignature(buff, sizeof(buff)))) {
|
||||||
case ContainerFormat::Id2v2Tag:
|
case ContainerFormat::Id3v2Tag:
|
||||||
// save position of ID3v2 tag
|
// save position of ID3v2 tag
|
||||||
m_actualId3v2TagOffsets.push_back(m_containerOffset);
|
m_actualId3v2TagOffsets.push_back(m_containerOffset);
|
||||||
if (m_actualId3v2TagOffsets.size() == 2) {
|
if (m_actualId3v2TagOffsets.size() == 2) {
|
||||||
|
|
|
@ -229,7 +229,7 @@ ContainerFormat parseSignature(std::string_view buffer)
|
||||||
case Gzip:
|
case Gzip:
|
||||||
return ContainerFormat::Gzip;
|
return ContainerFormat::Gzip;
|
||||||
case Id3v2:
|
case Id3v2:
|
||||||
return ContainerFormat::Id2v2Tag;
|
return ContainerFormat::Id3v2Tag;
|
||||||
case Utf8Text:
|
case Utf8Text:
|
||||||
return ContainerFormat::Utf8Text;
|
return ContainerFormat::Utf8Text;
|
||||||
}
|
}
|
||||||
|
@ -491,7 +491,7 @@ std::string_view containerFormatName(ContainerFormat containerFormat)
|
||||||
return "Audio Interchange File Format";
|
return "Audio Interchange File Format";
|
||||||
case ContainerFormat::Zstd:
|
case ContainerFormat::Zstd:
|
||||||
return "Zstandard compressed file";
|
return "Zstandard compressed file";
|
||||||
case ContainerFormat::Id2v2Tag:
|
case ContainerFormat::Id3v2Tag:
|
||||||
return "ID3v2 tag";
|
return "ID3v2 tag";
|
||||||
case ContainerFormat::ApeTag:
|
case ContainerFormat::ApeTag:
|
||||||
return "APE tag";
|
return "APE tag";
|
||||||
|
|
|
@ -30,7 +30,7 @@ enum class ContainerFormat : unsigned int {
|
||||||
Gif87a, /**< Graphics Interchange Format (1987) */
|
Gif87a, /**< Graphics Interchange Format (1987) */
|
||||||
Gif89a, /**< Graphics Interchange Format (1989) */
|
Gif89a, /**< Graphics Interchange Format (1989) */
|
||||||
Gzip, /**< gzip compressed file */
|
Gzip, /**< gzip compressed file */
|
||||||
Id2v2Tag, /**< file holding an ID3v2 tag only (FIXME v12: change enum entry to Id3v2Tag) */
|
Id3v2Tag, /**< file holding an ID3v2 tag only */
|
||||||
Ivf, /**< IVF (simple file format that transports raw VP8/VP9/AV1 data) */
|
Ivf, /**< IVF (simple file format that transports raw VP8/VP9/AV1 data) */
|
||||||
JavaClassFile, /**< Java class file */
|
JavaClassFile, /**< Java class file */
|
||||||
Jpeg, /**< JPEG File Interchange Format */
|
Jpeg, /**< JPEG File Interchange Format */
|
||||||
|
|
Loading…
Reference in New Issue