[FFmpeg-devel] [PATCH] lavd: export all symbols with av prefix

Lukasz Marek lukasz.m.luki2 at gmail.com
Mon Oct 20 22:20:53 CEST 2014


On 20.10.2014 21:29, James Almer wrote:
> On 20/10/14 7:14 AM, Lukasz Marek wrote:
>> diff --git a/libavdevice/libavdevice.v b/libavdevice/libavdevice.v
>> index 663af85..de7278c 100644
>> --- a/libavdevice/libavdevice.v
>> +++ b/libavdevice/libavdevice.v
>> @@ -1,4 +1,4 @@
>>   LIBAVDEVICE_$MAJOR {
>> -        global: avdevice_*;
>> +        global: avdevice_*; av_*;
>>           local: *;
>>   };
>
> The libraries may have avpriv functions that need to be exported, so "av{lib}_*; av_*; avpriv_*;"
> should be used instead (since people don't want av*)
>
> lavd currently has four avpriv_ functions in v4l2-common.h that nobody realized weren't being
> properly exported because they are not used outside the library.
> They should probably be renamed to ff_ before making any relevant change to this file.

I missed you mail, sorry.
But I guess they should have ff_ prefix anyway.



More information about the ffmpeg-devel mailing list