[FFmpeg-devel] [PATCH 1/2] tls_openssl: Improve quality of printed error messages, pass IO error codes through

Martin Storsjö martin at martin.st
Wed Mar 31 09:57:29 EEST 2021


On Fri, 26 Mar 2021, Martin Storsjö wrote:

> Print every error in the stack, if more than one, and don't print
> bogus errors if there's none logged within OpenSSL.
>
> Retain the underlying IO error code, print an error message out of
> it, and pass the error code on to the caller.
> ---
> libavformat/tls_openssl.c | 41 +++++++++++++++++++++++++++------------
> 1 file changed, 29 insertions(+), 12 deletions(-)

If there's no opinions on this, I'll go ahead and land this one (and the 
other corresponding patch for gnutls) soon.

// Martin


More information about the ffmpeg-devel mailing list