]> git.sesse.net Git - ffmpeg/commitdiff
avformat/tls_schannel: log unknown error codes
authorwm4 <nfxjfg@googlemail.com>
Wed, 31 May 2017 10:07:43 +0000 (12:07 +0200)
committerwm4 <nfxjfg@googlemail.com>
Wed, 31 May 2017 10:07:43 +0000 (12:07 +0200)
libavformat/tls_schannel.c

index 065dccb020a3512c68eff8be00f3221653e23fec..9f1c08806fe7400b3b276e63a1799efa77e525e4 100644 (file)
@@ -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;
         }