summaryrefslogtreecommitdiff
path: root/libavformat/tls_schannel.c
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2017-05-31 12:07:43 +0200
committerwm4 <nfxjfg@googlemail.com>2017-05-31 12:07:43 +0200
commit3da13fd6acea0c975625f719640f1c14b48da434 (patch)
treebf0d7cf8cebdc1c31fc84f75c61e8165b79daee4 /libavformat/tls_schannel.c
parent01602303821768013253749959f1367fa710f27d (diff)
downloadffmpeg-3da13fd6acea0c975625f719640f1c14b48da434.tar.gz
avformat/tls_schannel: log unknown error codes
Diffstat (limited to 'libavformat/tls_schannel.c')
-rw-r--r--libavformat/tls_schannel.c2
1 files changed, 1 insertions, 1 deletions
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;
}