mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
add new requirements to ogg mapping: vorbis comment block must come second after streaminfo; first packet must have a packet type byte of 0x7f; packet 0 version must be followed by a 2-byte count of the # of header packets
This commit is contained in:
@@ -31,7 +31,13 @@
|
||||
|
||||
#include "private/ogg_mapping.h"
|
||||
|
||||
const unsigned OggFLAC__MAPPING_PACKET_TYPE_LEN = 8; /* bits */
|
||||
|
||||
const FLAC__byte OggFLAC__MAPPING_FIRST_HEADER_PACKET_TYPE = 0x7f;
|
||||
|
||||
const FLAC__byte * const OggFLAC__MAPPING_MAGIC = "FLAC";
|
||||
|
||||
const unsigned OggFLAC__MAPPING_VERSION_MAJOR_LEN = 8; /* bits */
|
||||
const unsigned OggFLAC__MAPPING_VERSION_MINOR_LEN = 8; /* bits */
|
||||
|
||||
const unsigned OggFLAC__MAPPING_NUM_HEADERS_LEN = 16; /* bits */
|
||||
|
||||
Reference in New Issue
Block a user