Ticket #170: mplayer-cxx.patch

File mplayer-cxx.patch, 609 bytes (added by pluto@…, 22 years ago)

patch

  • MPlayer-1.0pre5try2/libmpdemux/demux_rtp.cpp

    #
    #	UsageEnviroment's destructor is empty/protected/not accessible.
    #	reclaim() is the only possibility to destruct object.
    #
    #	demux_rtp.cpp |    2 +-
    #	1 files changed, 1 insertion(+), 1 deletion(-)
    #
    old new  
    407407  delete rtpState->sdpDescription;
    408408  delete rtpState;
    409409
    410   delete env; delete scheduler;
     410  env->reclaim(); delete scheduler;
    411411}
    412412
    413413////////// Extra routines that help implement the above interface functions: