[FFmpeg-devel] [PATCH] vda: use fast reallocation.

Sebastien Zwickert dilaroga at gmail.com
Fri Nov 11 18:40:00 CET 2011


On Nov 11, 2011, at 5:55 PM, Reimar Döffinger wrote:

> On Fri, Nov 11, 2011 at 04:21:37PM +0100, Sebastien Zwickert wrote:
>> Hi,
>> 
>> The patch in attachment reuses the buffer in order to take benefits of av_fast_realloc().
> 
> Why av_fast_realloc and not av_fast_malloc? I can't see the need to
> preserve previous contents.

reusing buffer isn't faster ?

Best regards,
Sebastien



More information about the ffmpeg-devel mailing list