On Sun, Mar 19, 2023 at 11:24:54AM -0300, James Almer wrote: > On 3/19/2023 11:15 AM, Michael Niedermayer wrote: > > about 50% faster (based on command line fps) > > You should not allocate the 256 decoders if the encoder is a > AV_CODEC_FLAG_RECON_FRAME one, as they will not be used. > Doing so would save memory and speed up initialization. ok will post a new patchset thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The educated differ from the uneducated as much as the living from the dead. -- Aristotle