Displaying 1 result from an estimated 1 matches for "flac_structur".
Did you mean:
flac_structures
2011 May 30
1
64-bit FLAC structure sizes and padding
...reate FLAC files in 64-bit
due to different structure sizes (data alignment and data structure padding
added by 64-bit compilers). I don't know if this have been dealt with before
in this list.
I suggest the following addition to the headers (understood by most
compilers)
#pragma pack(push,4)
FLAC_structures ...
#pragma pack(pop)
That is, retain 32-bit packing of structures even on 64-bit.
But I wonder if this is enough to keep compatibility with FLAC files created
in 32-bit, 64-bit pointers are still 8-bit.
Ideas, anyone?
Cheers Jerker