[Flac-dev] 64-bit FLAC structure sizes and padding

Jerker Bäck jerker.back at gmail.com
Mon May 30 00:55:33 PDT 2011


Still don't get it.

It would make sense if the structure was allocated as a contiguous memory
block, like
typedef struct {
    FLAC__uint32 length;
    FLAC__byte entry[length + \0 + padding];
} FLAC__StreamMetadata_VorbisComment_Entry;

But as far as I can see, this is not the case. The entry member is a pointer
to an UTF8 string.





More information about the Flac-dev mailing list