[FFmpeg-devel] [PATCH] FATE tests don't build when SDL is installed (Win7 with MinGW32).

gregory.wolfe at kodakalaris.com gregory.wolfe at kodakalaris.com
Tue Mar 4 20:21:22 CET 2014


A while back I submitted a bug tracker ticket for this (#3368).  Since I
have already done the work, I figured I might as well share it.


Patched files:  46 source files (see .patch file attached)
Description (from commit message):

Documented in ticket #3368, same problem as described in ticket #256.
When SDL is being used, compile flags include -Dmain=SDL_main, which
causes problems for FATE test programs.  Applied same fix as in #256:
if building using MinGW32, simply #undef main prior to main(argc,argv).


Greg Wolfe, Kodak Alaris


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-FATE-tests-don-t-build-when-SDL-is-installed-Win7-wi.patch
Type: application/octet-stream
Size: 19786 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140304/22d9c814/attachment.obj>


More information about the ffmpeg-devel mailing list