From 3da13fd6acea0c975625f719640f1c14b48da434 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 31 May 2017 12:07:43 +0200 Subject: [PATCH] avformat/tls_schannel: log unknown error codes --- libavformat/tls_schannel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/tls_schannel.c b/libavformat/tls_schannel.c index 065dccb020..9f1c08806f 100644 --- a/libavformat/tls_schannel.c +++ b/libavformat/tls_schannel.c @@ -494,7 +494,7 @@ static int tls_read(URLContext *h, uint8_t *buf, int len) ret = AVERROR(EAGAIN); goto cleanup; } else { - av_log(h, AV_LOG_ERROR, "Unable to decrypt message\n"); + av_log(h, AV_LOG_ERROR, "Unable to decrypt message (error 0x%x)\n", (unsigned)sspi_ret); ret = AVERROR(EIO); goto cleanup; }