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

Ivailo Karamanolev ivailo91 at gmail.com
Mon May 30 04:29:51 PDT 2011

What other people explained earlier, there is no difference whatsoever what
is the size of the structure regarding the file format. The library reads
the file independent of the structures you are mentioning and fills the data
in them just in order to present them to the library user (you). It doesn't
depend on the structure size in order to read the file format correctly.

On Mon, May 30, 2011 at 2:25 PM, Jerker Bäck <jerker.back at gmail.com> wrote:

> > 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.
> _______________________________________________
> Flac-dev mailing list
> Flac-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/flac-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/flac-dev/attachments/20110530/205b7379/attachment.htm 

More information about the Flac-dev mailing list