[vorbis] Problem using the ogg-vorbis win32 SDK 1.0 [VC++6.0
Ti Kan
ti at amb.org
Wed Apr 30 10:03:56 PDT 2003
Ravi Kumar Krishnamaneni writes:
> Thanks, Mike it worked.
> I just added #pragma pack(8)
> It was because of Structure padding problems.
> Regards,
> Ravi.
Be careful with using this #pragma. Some C compilers/pre-processors
do not support it, and it is also architecture-dependent. If you
want to force a certain padding and alignment, and want to write portable
code, explicitly declare the pads in the structure definition.
-Ti
--
/// Ti Kan Vorsprung durch Technik
/// AMB Laboratories, Sunnyvale, CA. USA
/// ti at amb.org
////// http://www.amb.org/ti/
///
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis
mailing list