[Ffmpeg-devel] [PATCH] MinGW and portability

Frantisek Dvorak valtri
Tue Mar 28 21:23:01 CEST 2006


Hi coders, encoders and decoders,

I send several patches which fixes cross build with MinGW:

ff_win32_xine.patch - small patch needed for MinGW compilation. I think
there should be no problem with this patch

ff_win32_decls.sh - patch in the "shell" format. :-) Quite agressive,
may be needed for some Windowze compilers using ffmpeg libraries and
headers (MSVC, MinGW - needed for 1.2 version for compilation even
ffmpeg itself).

ff_win32.diff - various multiplatform fixes (inttypes x stdin), but
there are some hacks too (rint, lrint,...)

ff_cross)sdl.diff - usind cross compiled SDL (SDL's config file with
cross prefix)

Please apply mainly the first one (to keep in sync with our xine tree).
Other are just for inspiration (needed for my FreeBSD's mingw) but
probably useful...

Cheers,
  Frantisek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ff_win32_near.patch
Type: text/x-patch
Size: 11911 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060328/d8744cb7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ff_win32_decls.sh
Type: application/x-shellscript
Size: 5824 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060328/d8744cb7/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ff_win32.diff
Type: text/x-patch
Size: 7089 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060328/d8744cb7/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ff_cross_sdl.diff
Type: text/x-patch
Size: 1316 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060328/d8744cb7/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Toto je digit?ln? podepsan? ??st zpr?vy
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060328/d8744cb7/attachment.pgp>



More information about the ffmpeg-devel mailing list