[FFmpeg-devel] Patch: OpenSSL and Windows
protogonoi at gmail.com
Thu Jan 23 11:52:50 CET 2014
This is just a simple patch to fix compilation on Windows when OpenSSL is
enabled. The problem is that OpenSSL headers include "windows.h" which in
turn includes "winsock.h" by default. The problem is that ffmpeg then
includes "winsock2.h" which clashes with the previous winsock header and
causes compilation to fail. The trick is just to make sure winsock2 is
included before any inclusions of "windows.h".
Thats exactly all this patch does is change the order of some of the
include headers in tls.c. Thats it, absolutely nothing else, so not really
a major change but without compilation will not work on windows at all.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 893 bytes
Desc: not available
More information about the ffmpeg-devel