diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2025-07-29 00:39:18 +0200 |
---|---|---|
committer | Kacper Michajłow <kasper93@gmail.com> | 2025-07-30 02:56:12 +0200 |
commit | daee46ed7efa71ac317abfa835c3d3d00fd8eab4 (patch) | |
tree | 4a329032879b203259db16f0fdde4cb478a02bba /doc/examples | |
parent | f09c834a7d01dfde9369551b2767c001846a396f (diff) | |
download | ffmpeg-daee46ed7efa71ac317abfa835c3d3d00fd8eab4.tar.gz |
Revert "avformat/tls_openssl: properly get new BIO index"
BIO_get_new_index() is static counter meant to get index for custom bio
type definition. As we can read in the documentation:
> 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 reverts commit 816dad231f5b312fd98e81cc6a6cbaf47c1e26a5.
Fixes: https://github.com/mpv-player/mpv/issues/16589
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
Diffstat (limited to 'doc/examples')
0 files changed, 0 insertions, 0 deletions