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

James Almer jamrial at gmail.com
Mon Oct 20 21:29:45 CEST 2014


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.


More information about the ffmpeg-devel mailing list