[Ffmpeg-devel] [PATCH] Cygwin vhook, always static avformat
Diego Biurrun
diego
Thu Aug 3 18:45:28 CEST 2006
On Wed, Aug 02, 2006 at 03:45:42PM +0200, V?ctor Paesa wrote:
>
> The reason is that WIN32 does not allow undefined symbols during linking.
>
> These symbols might be defined by:
>
> a) Adding the av[ucf]* libraries as VHOOKLIBS (the
> ffmpeg.cygwin.vhook.6.patch way)
>
> b) Creating a .def for the _av_mallocz, _avpicture_get_size, etc. that
> exist in ffmpeg.exe (static build), then adding
> that .def to the linking steps in vhooks.
>
> c) Using __declspec(dllimport) (a.ka. FF_IMPORT_ATTR) somehow, somewhere
> in vhooks (shared libraries builds).
>
> I believe that (a) is the solution that minimizes changes and is more
> portable.
But it has the downsize of creating huge vhooks. This is not
acceptable. I'm confident that this is just a matter of finding the
right linker incantation ...
Diego
More information about the ffmpeg-devel
mailing list