Implement media tag types.

This commit is contained in:
2019-03-31 15:37:07 +01:00
parent c03ac0504a
commit 5b92838bdc
5 changed files with 198 additions and 7 deletions

View File

@@ -371,10 +371,7 @@ void *open(const char *filepath)
}
memset(mediaTag, 0, sizeof(dataLinkedList));
// TODO: MediaTagType
// MediaTagType mediaTagType = GetMediaTagTypeForDataType(blockHeader.type);
mediaTag->type = blockHeader.type;
mediaTag->type = GetMediaTagTypeForDataType(blockHeader.type);
mediaTag->data = data;
mediaTag->length = blockHeader.length;