[MPlayer-dev-eng] Re: [PATCH] Save memory in demux_rtp.cpp

Nico Sabbi nicola_sabbi at fastwebnet.it
Mon Feb 26 23:56:02 CET 2007


Carl Eugen Hoyos wrote:
> Hi Nico!
> [...]
> 
>>new_demux_packet() and resize_demux_packet() both store the length of 
>>the buffer in dp->len, so at any time dp->len is the amount of memory
>>allocated;
> 
> 
> This might be true for other demuxers (I didn't look), but it's definitely wrong
>  for live demuxer: afterReading sets dp->len to the size of the packet:
> (annotate demux_rtp.cpp)
> 405 : 	arpi 	6911 	 dp->len = frameSize;
> 
> Carl Eugen
> 

please, fix that shit wherever you find it

-- 
"Without a frontend, mplayer is useless" - someone in mplayer-users



More information about the MPlayer-dev-eng mailing list