[FFmpeg-devel] Revert "avformat/tls_openssl: properly get new BIO index"
Nicolas George
george at nsup.org
Wed Jul 30 20:52:59 EEST 2025
Kacper Michajłow (HE12025-07-30):
> > Note that BIO_get_new_index() can only be used 127 times before it
> > returns an error.
>
> We cannot call it repeatedly, because it will fail eventually.
>
> To my understanding the index is not needed in our use and we could
> safely use BIO_TYPE_NONE. Documentation states:
>
> > type can be set to either BIO_TYPE_NONE or via BIO_get_new_index() if
> > a unique type is required for searching (See BIO_find_type(3))
>
> We don't use any search related functions.
This should never have reached the commit message.
--
Nicolas George
More information about the ffmpeg-devel
mailing list