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

Jerker Bäck jerker.back at gmail.com
Mon May 30 04:25:32 PDT 2011


> Err, no it wouldn't. In fact this example you gave only confuses
> the matter.

? What do you mean?

typedef struct {
    FLAC__uint32 length;
    FLAC__byte *entry;
} FLAC__StreamMetadata_VorbisComment_Entry;

Can you confirm that the entry member is a pointer and not a byte array?

In that case:
What happens if the compiler expands the size of the structure twice (8=>16
bytes)?

I did some debugging to examine the structure sizes but I'm not quite sure.




More information about the Flac-dev mailing list