Re: [AD] patch for the FLC reader

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On sáb, nov 29, 2003 at 09:21:48 +0100, Eric Botcazou wrote:
> So FLI/FLC files with chunks that have odd lengths are not in
> compliance with the spec, right?

Not really, the same spec says that chunks with odd lengths MUST have
a extra byte for alignment, them are in compliance with the spec.

The extra byte isn't counted in the chunk size (each chunk has a
header with size/type, and the size doesn't count the alignment byte),
but this alignment byte IS COUNTED in the frame size, that is why the
Allegro player (after an odd chunk) works anyway (because jump the
frame size that contains that extra byte).

.- David A. Capello - www.davidcapello.com.ar





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/