mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
big fix to allow codec and metadata interface to handle unknown metadata block types correctly
This commit is contained in:
@@ -623,7 +623,9 @@ void write_metadata(const char *filename, FLAC__StreamMetadata *block, unsigned
|
||||
}
|
||||
break;
|
||||
default:
|
||||
PPR; printf("SKIPPING block of unknown type\n");
|
||||
PPR; printf(" data contents:\n");
|
||||
if(0 != block->data.unknown.data)
|
||||
hexdump(filename, block->data.unknown.data, block->length, " ");
|
||||
break;
|
||||
}
|
||||
#undef PPR
|
||||
|
||||
Reference in New Issue
Block a user