[FFmpeg-devel] [PATCH 3/4] proresenc_kostya: realloc if buffer too small

Christophe Gisquet 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...
Name: 0001-proresenc_kostya-realloc-if-buffer-too-small.patch
Type: text/x-patch
Size: 2627 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140812/e88385eb/attachment.bin>


More information about the ffmpeg-devel mailing list