[vlc-devel] [PATCH] Support the Metacube protocol when streaming over HTTP.

Steinar H. Gunderson sgunderson at bigfoot.com
Thu Feb 20 16:39:47 CET 2014


On Thu, Feb 20, 2014 at 08:14:58AM +0100, Denis Charmet wrote:
>> +            p_buffer = block_Realloc( p_buffer, sizeof( hdr ), p_buffer->i_buffer );
> Check return and it will be good.

What is the right behavior on NULL return (which I guess is what you want me
to check for)? Will it automatically have been chain-released, so I can just
do return VLC_ENOMEM? Or do I need to keep track of the old version of
p_buffer and chain-release that? Or perhaps p_buffer->p_next and
chain-release that?

/* Steinar */
-- 
Homepage: http://www.sesse.net/



More information about the vlc-devel mailing list