[FFmpeg-devel] Symbol versioning, Round 3

Reinhard Tartler siretart
Wed Dec 30 08:26:28 CET 2009


Diego Biurrun <diego at biurrun.de> writes:

> On Tue, Dec 29, 2009 at 10:59:34PM +0100, Reinhard Tartler wrote:
>> 
>> --- /dev/null
>> +++ b/libavutil/libavutil.v
>> @@ -0,0 +1,4 @@
>> +LIBAVUTIL_%MAJOR% {
>> +	global: av_*; ff_*; avutil_*;
>> +	local: *;
>> +};
>> --- /dev/null
>> +++ b/libswscale/libswscale.v
>> @@ -0,0 +1,4 @@
>> +LIBSWSCALE_%MAJOR% {
>> +	global: swscale_*; sws_*; ff_*;
>> +	local: *;
>
> ff_ prefix global?  What am I missing?

these ff_ symbols should not be used outside the respective library, but
can very well be referenced from another library, e.g., by libavcodec.
Therefore, also ff_* symbols need to be exported, at least currently.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4




More information about the ffmpeg-devel mailing list