mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Set length on output from read media tag.
This commit is contained in:
@@ -383,8 +383,9 @@ void *open(const char *filepath)
|
||||
// TODO: MediaTagType
|
||||
// MediaTagType mediaTagType = GetMediaTagTypeForDataType(blockHeader.type);
|
||||
|
||||
mediaTag->type = blockHeader.type;
|
||||
mediaTag->data = data;
|
||||
mediaTag->type = blockHeader.type;
|
||||
mediaTag->data = data;
|
||||
mediaTag->length = blockHeader.length;
|
||||
|
||||
if(ctx->mediaTagsHead == NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user