[Ffmpeg-devel] [PATCH] Staticising mpeg12data header

Måns Rullgård mru
Thu Sep 21 00:52:31 CEST 2006


Uoti Urpala <uoti.urpala at pp1.inet.fi> writes:

> On Wed, 2006-09-20 at 15:00 -0400, Rich Felker wrote:
>> For global variables it does matter, however global variables are evil
>> enough already and _prohibitively_ evil when imported from a shared
>> library. Doing so results in copy-relocations, which in turn introduce
>
> You can have global variables _within_ a shared library, the kind for
> which visibility "hidden" makes sense. FFmpeg has global tables of
> constants, which aren't all that evil or problematic.

Global constants are fine.  Global variables are not.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list