[MPlayer-dev-eng] Re: [PATCH] Save memory in demux_rtp.cpp
Carl Eugen Hoyos
cehoyos at ag.or.at
Mon Feb 26 23:47:11 CET 2007
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
More information about the MPlayer-dev-eng
mailing list