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.