[MPlayer-dev-eng] Re: divx4/xvid

Ville Syrjälä syrjala at sci.fi
Thu Dec 12 03:24:16 CET 2002


On Thu, Dec 12, 2002 at 01:52:21AM +0000, lumag at qnc.ru wrote:
> Probably the better way is to use libxvidcore & libdivx[en/de]core as 
> plugins,
>  and select [en/de]core functions at runtime. I don't know, if such 
> method
>  can be used: I don't know well the theory of dynamic linking and 
> plugins.

dlopen() should work. Hmm. I think it's possible to have both libaries 
open at the same time with RTLD_LAZY and use dlsym() to get the
required symbols even if they have the same name. Someone correct me if
I'm wrong.

-- 
Ville Syrjälä
syrjala at sci.fi
http://www.sci.fi/~syrjala/



More information about the MPlayer-dev-eng mailing list