[FFmpeg-devel] Eliminating long

Diego Biurrun diego
Mon Mar 31 01:25:32 CEST 2008


On Mon, Mar 31, 2008 at 12:15:59AM +0100, Jay L. T. Cornwall wrote:
> 
> Likewise, I can guarantee that FFmpeg's own developers have made
> assumptions about type sizes all over the code base that violate the
> standard.

If you point them out I am sure they will be fixed in short order.

> I'll rephrase this, if this makes a better incentive: ByteIOContext is 
> type unsafe if anyone is interpreting ByteIOContext.checksum field to be 
> anything other than a uint32_t. It would fail catastrophically under the 
> choice of your compiler, including a mainstream compiler on a mainstream 
> platform (VC x64).

That compiler is known broken and unsupported, mainstream as it may be ...

Diego




More information about the ffmpeg-devel mailing list