[FFmpeg-devel] [PATCH] lavd/vfwcap: Fix compilation under windows.

Matt Oliver protogonoi at gmail.com
Fri Apr 10 15:48:11 CEST 2015


Recent merge fe25194c5870f21ba10f615f036b64d0c84fca48 broke compilation
under windows by changing the inclusion order of winsock.h and windows.h
(winsock is included in libavformat/internal.h)

See recent fate tests for error:
http://fate.ffmpeg.org/report.cgi?time=20150410045531&slot=x86_32-msvc12-windows-native

The following patch fixes this by explicitly including
libavformat/internal.h first. Since Ive made similar fixes to this file
before I added a comment to make it clear that the header include order
cant be changed so as to avoid the same issue arising in the future.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavd-vfwcap-Fix-compilation-under-windows.patch
Type: application/octet-stream
Size: 891 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150410/724c05fe/attachment.obj>


More information about the ffmpeg-devel mailing list