[FFmpeg-devel] [PATCH 2/2] lavfi: make filter_frame non-recursive.

Clément Bœsch u at pkh.me
Mon Nov 14 11:26:28 EET 2016

On Mon, Nov 14, 2016 at 12:18:12AM +0100, Nicolas George wrote:
> Le quartidi 24 brumaire, an CCXXV, Hendrik Leppkes a écrit :
> > I disagree with that, this is generic utility code, not a tight
> > algorithm loop, where absolute efficiency is not necessarily required,
> > and disregarding code simplicity amd consistency will just harm in the
> > long-run.
> We can discuss that. Remember that they are fields in a structure, not
> code: if these fields are accessed in a tight loop, your argument
> vanishes.

You can dereference once before entering the loop

Clément B.

More information about the ffmpeg-devel mailing list