[FFmpeg-devel] [PATCH 3/4] proresenc_kostya: realloc if buffer too small
christophe.gisquet at gmail.com
Tue Aug 12 09:07:20 CEST 2014
2014-08-12 7:56 GMT+02:00 Christophe Gisquet <christophe.gisquet at gmail.com>:
> Yeah, you're right. I have no idea how big a slice can be, as that
> seems the extra size check here. How about FF_MIN_BUFFER_SIZE ?
> Then the growth would be FFMAX(FF_MIN_BUFFER_SIZE, buf - orig_buf) ?
Here's a patch for that, and moving the warn variable to the context.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2627 bytes
Desc: not available
More information about the ffmpeg-devel