[FFmpeg-devel] [PATCH 2/8] libutvideodec: Replace a silly stay constant

Derek Buitenhuis derek.buitenhuis at gmail.com
Mon Nov 7 19:29:39 CET 2011

On 07/11/2011 1:20 PM, Reimar Döffinger wrote:
>> That is no good, there is no guarantee how exactly the compiler
>> >  lays it out and thus sizeof(UtVideoExtra) could also be e.g.
>> >  32 (on an hypothetical architecture that can only read 8 byte
>> >  aligned ints).
> I see that DecodeBegin already uses it, something seems wrong here.

Well, then it can just be set to a constant 16.

More information about the ffmpeg-devel mailing list