[MPlayer-dev-eng] using pthread in cache2

Roberto Togni r_togni at tiscali.it
Sat Aug 6 12:13:52 CEST 2005


On Sat, 06 Aug 2005 10:01:34 +0200
Andrea Palmatè <andrea at amigasoft.net> wrote:

[...]
> Another thing..
> 
> with last cvs there are two variable definited in demuxer.c 
> (sub_demuxer_type and audio_demuxer_type) that MUST be declared
outside 
> function because they are called external in other functions.
Otherwise the 
> link fail
> 
They are declared external in cfg_common.h, but they are not used.
On which systems does it break linking?
If declaring a variable external when it's not available (never used
and never exported) breaks linking, there are other places where this
could happen (code disabled by ifded)

Ciao,
 Roberto




More information about the MPlayer-dev-eng mailing list