[FFmpeg-devel] [PATCH 02/10] aacenc: Add missing ff_ prefixes

Claudio Freire klaussfreire at gmail.com
Sat Aug 22 06:05:18 CEST 2015

On Sat, Aug 22, 2015 at 1:01 AM, Timothy Gu <timothygu99 at gmail.com> wrote:

> On Fri, Aug 21, 2015 at 10:49:01PM -0400, Ganesh Ajjanagadde wrote:
> > There are too many entries here for me to verify which ones are exposed,
> etc.
> > I trust you identified them correctly.
> To the best of my knowledge, yes. To anyone reading this message, I used
> the following command to get a list of all symbols without the prefix:
>     nm libavcodec/*.o | grep ' [TD] ' | cut -d ' ' -f 3- | grep -v
> '^\(av\|ff_\)'
> After this patchset, the command outputs nothing except for the
> deprecated `audio_resample` functions.

When reviewing the patches with Rostislav, I actually tested to see whether
those symbols were exported, and they weren't.

They were included in the symbol table but only as local, the libavcodec.v
file makes sure to make everything not explicitly mentioned for export

Though it's possible that it depends on the compiler version?

More information about the ffmpeg-devel mailing list