[Ffmpeg-devel] [PATCH] Cygwin vhook, always static avformat
Víctor Paesa
wzrlpy
Mon May 1 00:24:45 CEST 2006
Hi,
I would like to submit for your consideration two patches:
a) Add vhook support to Cygwin
http://usuarios.arsystel.com/wzrlpy/ffmpeg/ffmpeg.cygwin.vhook.1.patch
The hooks created statically are quite large, hence I would like to use
dynamick libraries.
However, (at least under my Cygwin 1.5.19/gcc 3.4.4/ld 2.16.91) when using
dynamic linking, though the compile is succesfull, the resulting ffmpeg.exe
dies upon execution. Probably there is some bug in auto-importing during
linking, and there are some messages in the Cygwin mail list that point to
that.
Until that bug is fixed, the solution I found is to always compile avformat
statically (regardless of --disable-static/--enable-shared), and in this way
the vhooks have quite reasonable sizes.
I know that making changes in ffmpeg to workaround compiler bugs is not very
popular, but I would like to adventure this second patch:
b) Always compile avformat statically under Cygwin
http://usuarios.arsystel.com/wzrlpy/ffmpeg/ffmpeg.cygwin.static_avformat.1.patch
Regards,
V?ctor Paesa
More information about the ffmpeg-devel
mailing list