Patch from https://trac.ffmpeg.org/ticket/5036 is attached
From d5d18f91514b6c31f903b04a1c44b0e2de2ffd1a Mon Sep 17 00:00:00 2001
From: Kevin Mitchell <kevmi...@gmail.com>
Date: Tue, 24 Nov 2015 19:25:12 -0800
Subject: [PATCH] avformat: add windows.h to SChannel SSP TLS code

This fixes building on cygwin
---
 libavformat/tls_schannel.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/tls_schannel.c b/libavformat/tls_schannel.c
index c76f8a9..85c01a0 100644
--- a/libavformat/tls_schannel.c
+++ b/libavformat/tls_schannel.c
@@ -28,6 +28,7 @@
 #include "tls.h"
 
 #define SECURITY_WIN32
+#include <windows.h>
 #include <security.h>
 #include <schnlsp.h>
 
-- 
2.6.2

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to