[FFmpeg-devel] [PATCH 3/7] Add alias-safe union typedefs

Uoti Urpala uoti.urpala
Fri Jan 29 17:45:58 CET 2010


On Fri, 2010-01-29 at 17:39 +0100, Luca Barbato wrote:
> On 01/29/2010 12:06 PM, M?ns Rullg?rd wrote:
> > Those rely on the may_alias attribute being supported, which is tested
> > by configure.  I guess it could be changed to check for gcc version
> > instead, although that is less reliable with non-gcc compilers.
> 
> You may use the pkgconfig files to add the configure outcome and add a
> fallback
>  just in case the header is used w/out asking pkgconfig.

Communicating the values from the time of FFmpeg configure isn't enough.
The problem is that an application can use the FFmpeg headers but be
compiled with a compiler different from what was used for FFmpeg.




More information about the ffmpeg-devel mailing list