[FFmpeg-devel] [PATCH] Decrease stack usage in svq1_encode_plane()

Reimar Döffinger Reimar.Doeffinger
Sun Jan 10 15:52:23 CET 2010

On Fri, Jan 08, 2010 at 05:24:53PM +0800, Zuxy Meng wrote:
> The stack usage can be substantially high if stride is large, which
> causes "make test" under Windows to fail due to stack overflow.

Uh, also, there is also a context variable "scratchbuf", reuse that if possible,
if not make its allocation twice as large and use
scratchbuf + stride*16

More information about the ffmpeg-devel mailing list