mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
add FLAC__METADATA_TYPE_UNDEFINED to FLAC__StreamMetadataType enum for marking beginning of reserved range
This commit is contained in:
@@ -508,7 +508,7 @@ void write_metadata(const char *filename, FLAC__StreamMetadata *block, unsigned
|
||||
/*@@@ yuck, should do this with a varargs function or something: */
|
||||
#define PPR if(filename)printf("%s:",filename);
|
||||
PPR; printf("METADATA block #%u\n", block_number);
|
||||
PPR; printf(" type: %u (%s)\n", (unsigned)block->type, block->type<=FLAC__METADATA_TYPE_VORBIS_COMMENT? FLAC__MetadataTypeString[block->type] : "UNKNOWN");
|
||||
PPR; printf(" type: %u (%s)\n", (unsigned)block->type, block->type < FLAC__METADATA_TYPE_UNDEFINED? FLAC__MetadataTypeString[block->type] : "UNKNOWN");
|
||||
PPR; printf(" is last: %s\n", block->is_last? "true":"false");
|
||||
PPR; printf(" length: %u\n", block->length);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user