mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
shorten APPLICATION id to 32 bits
This commit is contained in:
@@ -345,17 +345,17 @@ typedef struct {
|
||||
|
||||
/*****************************************************************************
|
||||
*
|
||||
* 128: Registered application ID
|
||||
* n: Application data
|
||||
*-------- -----------------
|
||||
* 16+n/8 bytes total
|
||||
* 32: Registered application ID
|
||||
* n: Application data
|
||||
*------- -----------------
|
||||
* 4+n/8 bytes total
|
||||
*/
|
||||
typedef struct {
|
||||
byte id[16];
|
||||
byte *data;
|
||||
} FLAC__StreamMetaData_Application;
|
||||
|
||||
extern const unsigned FLAC__STREAM_METADATA_APPLICATION_ID_LEN; /* = 128 bits */
|
||||
extern const unsigned FLAC__STREAM_METADATA_APPLICATION_ID_LEN; /* = 32 bits */
|
||||
|
||||
/*****************************************************************************
|
||||
*
|
||||
@@ -371,6 +371,8 @@ typedef struct {
|
||||
unsigned length; /* in bytes */
|
||||
union {
|
||||
FLAC__StreamMetaData_StreamInfo stream_info;
|
||||
FLAC__StreamMetaData_Padding padding;
|
||||
FLAC__StreamMetaData_Application application;
|
||||
} data;
|
||||
} FLAC__StreamMetaData;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user