[FFmpeg-cvslog] avformat/tls_schannel: log unknown error codes

wm4 git at videolan.org
Wed May 31 13:18:26 EEST 2017


ffmpeg | branch: master | wm4 <nfxjfg at googlemail.com> | Wed May 31 12:07:43 2017 +0200| [3da13fd6acea0c975625f719640f1c14b48da434] | committer: wm4

avformat/tls_schannel: log unknown error codes

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3da13fd6acea0c975625f719640f1c14b48da434
---

 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;
         }



More information about the ffmpeg-cvslog mailing list