[vlc-devel] [PATCH] Add support for AMT multicast tunneling over non-multicast enabled networks
ileoo at videolan.org
Wed May 1 17:43:48 CEST 2019
On Tue, Apr 30, 2019 at 10:22:44AM -0400, Wayne Brassem wrote:
> Actually it just hit me how to solve this issue.
> > If I used just one buffer and returned an AMT tunnel header adjusted pointer to the payload beginning I was concerned that it might leak memory (equal to sizeof( AMT header) ) in main.
block_Alloc/Release can manage just fine if you modify
p_buffer/i_buffer, assuming they are kept sane.
So even if you adjust those, it doesn't modify the actual buffer-start
of block, as it's stored separately. You can check those from
src/misc/block.c if interested.
"See - the thing is - I'm an absolutist. I mean, kind of ... in a way ..."
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Digital signature
More information about the vlc-devel