[MPlayer-users] trouble compiling mplayer with live.com
Roberto Togni
r_togni at tiscali.it
Sat Jul 17 16:03:32 CEST 2004
On 2004.07.16 18:14, Antonio wrote:
> Hi to the list,
>
[...]
> virtual UsageEnvironment::~UsageEnvironment()' is protected
> demux_rtp.cpp:410: error: within this context
> make[1]: *** [demux_rtp.o] Error 1
> make[1]: Leaving directory `/home/anto/mplay/bak/MPlayer-1.0pre5/
> libmpdemux'
> make: *** [libmpdemux/libmpdemux.a] Error 2
This is just a quick hack, not a fix, to allow compilation with the
latest live.com snapshot live20040716.tar.gz
On line 410 of demux_rtp.cpp, remove the "delete env;" (it's in
libmpdemux directory).
Please note that this will create a memory leak.
My limited testing show no problem with this hack applied.
>
> I've goggled a lot around this error and I don't know if it is a
> bug or I'm missing something.
>
It's a bug. Porbably something changed in UsageEnvironment in live.com
and the rtp demuxer have to be adapted for the new code. Unfortunatelly
i don't know c++ quirks enough to fing out what's wrong, but i think
that destructor should be public, not protected.
> Does anyone have some hint?
>
> Thanks
> - Antonio
Ciao,
Roberto
More information about the MPlayer-users
mailing list