[vlc-devel] Patches to work-around __packed__ on iOS

Rémi Denis-Courmont remi at remlab.net
Mon Mar 26 18:47:00 CEST 2012

Le lundi 26 mars 2012 19:39:52 Felix Paul Kühne, vous avez écrit :
> > Patch 0006 does not look right.
> The rationale behind this patch is that __packed__ works correctly on OS X
> and is therefore caught by the first #if. For iOS and hypothetical OS X
> variants without support for this, my patch is applied. For iOS, pack(4)
> is correct according to info provided by apple's engineers on their
> subscription-only forums.

RTFM. pack(4) is not the same as __attribute__((packed)).

With this patch, the compilation might be fixed, but the machine code will be 

Rémi Denis-Courmont

More information about the vlc-devel mailing list