[vlc-devel] [PATCH] fix ogg muxer structure packing

Francois Cartegnie fcvlcdev at free.fr
Wed Mar 14 15:27:58 CET 2012


Le 14/03/2012 11:44, Sébastien Escudier a écrit :
> Hi,
> 
> I found that ogm muxing is broken on windows due to struct padding.
> This patch fixes it, but is it a correct way to do it ?
> If not, how ?

Pragma pack() should solve it, as it was the way to do it with suncc
before support for the __packed__ attribute.

What's your compiler ? (Why would your gcc not support the attribute?)

Francois



More information about the vlc-devel mailing list