[MPlayer-dev-eng] [PATCH] libnemesi support in mplayer
Rich Felker
dalias at aerifal.cx
Thu Sep 6 21:06:01 CEST 2007
On Thu, Sep 06, 2007 at 08:44:51PM +0200, Reimar Döffinger wrote:
> Hello,
> On Thu, Sep 06, 2007 at 04:34:30PM +0200, Luca Barbato wrote:
> > Nico Sabbi wrote:
> > > can't you rename those symbols?
> >
> > moving from
> >
> > rtsp_*
> >
> > to mp_rtsp_ and nm_rtsp_
> >
> > would be a bit annoying.
> >
> > Maybe I could use a preprocessor trick to add mp_ to the native rtsp
> > calls...
>
> Well, if nemesi is supposed to be a standalone library, giving it a
> proper "namespace" so it is very, very unlikely to ever cause name
> clashes would be a really good idea...
Indeed, all too many libs fail to do this... I remember a long time
ago dealing with a bug (in another project) from libsoundfile
exporting a symbol named "dsp". My app worked fine until someone tried
to link it on a distro where libSDL pulled in libsoundfile...
Rich
More information about the MPlayer-dev-eng
mailing list