[FFmpeg-devel] [PATCH] Use ff_thread_once() to initialize sin/cos static tables.

Derek Buitenhuis derek.buitenhuis at gmail.com
Sun Oct 25 13:05:02 CET 2015


On 10/25/2015 11:56 AM, Ronald S. Bultje wrote:
> So this is likely because we init all tables instead of just these that we
> need, right? So how about having one ff_once per table? That should be
> trivial to implement.

Yep.

> Obviously anyone using shell scripts and calls to CLI ffmpeg versions to do
> probing of production-level numbers of files on production systems deserves
> the results (s)he'll be getting.

I'll agree. I just dislike the CLI-centric approach usually taken in this list.

Cheers,
- Derek


More information about the ffmpeg-devel mailing list