[Ffmpeg-devel] How to reduce the ffmpeg avcodec.dll, avformat.dllsize

Måns Rullgård mru
Mon Mar 20 22:44:43 CET 2006

Michael Niedermayer <michaelni at gmx.at> writes:

> Hi
> On Mon, Mar 20, 2006 at 09:44:44AM -0500, Rich Felker wrote:
> [...]
>> If code is not being removed by the compiler with some
>> encoders/decoders disabled, it's probably because it's accidentally
>> being used, due to function pointers in the data segment, etc.
> no, IIRC gcc until very recently (4.0 or so) did NOT support removing
> unused static functions, and iam not even sure if latest gcc does it
> by default

Unused static functions have been removed in the compilation phase for
a long time.  You probably mean extern functions.  They can be
referenced in much more subtle ways.

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list