[FFmpeg-devel] [PATCH 1/8] Deprecate avcodec_get_pix_fmt_name() in favor of the new av_get_pix_fmt_name().
Sat Nov 13 02:01:57 CET 2010
On Mon, Nov 08, 2010 at 06:41:53PM -0200, Ramiro Polla wrote:
> On Mon, Nov 8, 2010 at 12:43 PM, Tomas H?rdin <tomas.hardin at codemill.se> wrote:
> > Basically what needs to be done for that is have the import libraries
> > also export global variables and not just the functions, thus exposing
> > the entire API. That or add getter functions for all global variables
> > (basically make our own stubs).
> Global variables are always exported. The problem is that MSVC is not
> capable of using globals from a DLL unless they're marked as
> __declspec(dllimport). I consider that a bug, not worth working around
> on our code with dllimports and such. Also I don't like the API
> clutter of adding getters for each global variable (specially since
> that's only a problem when linking to shared libraries with MSVC), but
> that's not up to me to decide.
I think we either should clearly say that the msvc linker is unsupported
and that the gnu linker has to be used on windows or we should provide getter/
setter functions for all global variables or workaround msvcs linking issues
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel