[FFmpeg-devel] [PATCH 1/4] ffv1dec: Avoid unnecessarily large stack usage and copies.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Sep 3 00:28:55 CEST 2014


On Wed, Sep 03, 2014 at 12:01:52AM +0200, Reimar Döffinger wrote:
> Ideally the compiler could figure this out on its own,
> but it seems it can't.
> An alternative that would avoid the messy explicit memcpy
> would be to use a sub-struct for the parts that should
> be preserved, which can then simply be assigned.

Note this one is an exact duplicate of the one I sent earlier (following
ones are new).
Sorry, I didn't remember anymore what I had and hadn't sent..


More information about the ffmpeg-devel mailing list