patterns/flac: Fix SEEKTABLE metadata block (#173)

Add SEEKTABLE to blocktype check
This commit is contained in:
H0L0
2023-10-16 05:19:34 +10:00
committed by GitHub
parent 44842dc44b
commit 4fd710e23e

View File

@@ -307,6 +307,8 @@ struct METADATA_BLOCK {
METADATA_BLOCK_PADDING data; METADATA_BLOCK_PADDING data;
else if (header.blockType == BLOCK_TYPE::APPLICATION) else if (header.blockType == BLOCK_TYPE::APPLICATION)
METADATA_BLOCK_APPLICATION data; METADATA_BLOCK_APPLICATION data;
else if (header.blockType == BLOCK_TYPE::SEEKTABLE)
METADATA_BLOCK_SEEKTABLE data;
else if (header.blockType == BLOCK_TYPE::VORBIS_COMMENT) else if (header.blockType == BLOCK_TYPE::VORBIS_COMMENT)
METADATA_BLOCK_VORBIS_COMMENT data; METADATA_BLOCK_VORBIS_COMMENT data;
else if (header.blockType == BLOCK_TYPE::CUESHEET) else if (header.blockType == BLOCK_TYPE::CUESHEET)
@@ -323,4 +325,4 @@ struct STREAM {
//FRAME frames[while(!std::mem::eof())]; //FRAME frames[while(!std::mem::eof())];
}; };
STREAM stream @ 0x00; STREAM stream @ 0x00;