On Sun, Apr 26, 2015 at 08:22:56AM +0530, Niklesh Lalwani wrote:
> On Sun, Apr 26, 2015 at 6:56 AM, Michael Niedermayer <michae...@gmx.at>
> > wrote:
> >
> >>
> >> > +struct __attribute__((__packed__)) StyleRecord {
> >
> >
> >> you cant do this
> >
> > attribute packed is not ANSI/ISO C
> >
> >
> >> How do I implement packed structures then here? ( since I don't want
> padding for proper alignment with the text sample)

you cant create packed structs, theres no portable way to do so
also there likely would be issues on either big or little endian
with such structs if they where used for reading data

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to