[Ffmpeg-devel] [PATCH] [Visibility] Try 2: libpostproc public functions

Luca Barbato lu_zero
Wed Sep 20 09:26:43 CEST 2006


Diego Biurrun wrote:
>> +#ifndef EXPORTED_POSTPROC
>> +# if defined(__GNUC__) && (__GNUC__ >= 4)
>> +#  ifdef BUILD_POSTPROC
>> +#    define EXPORTED_POSTPROC __attribute__((visibility("protected")))
>> +#  else
>> +#    define EXPORTED_POSTPROC __attribute__((visibility("default")))
>> +#  endif
> 
> You'll never reach the else since you compile with -DBUILD_POSTPROC ..
> 

the else is for application linking to it.

lu

-- 

Luca Barbato

Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero





More information about the ffmpeg-devel mailing list