[FFmpeg-devel] [PATCH 0/3] Fixes for MSVC shared library support
h.leppkes at gmail.com
Fri Oct 19 21:35:37 CEST 2012
with todays merges we got support for building shared libraries with MSVC, however a few changes are still required for this to actually work properly.
All of these changes deal with data tables which are shared between libraries.
1) av_pix_fmt_descriptors has been deprecated, and an API was added to replace it. No direct indexing into the table anymore, instead a neat getter API which replaces all invocations of it.
2) Any private symbols which are shared between libraries are now required to be marked as av_export, most of the important tables were marked in the merge, however a few were missed, so here they are.
3) ff_log2_tab was recently changed to not be referenced from libavutil anymore, and instead be duplicated in the libraries that need it (in shared builds, only), however swresample was missed, and so this commits adds it there as well.
There is one unsolved issue with the AAC encoder and its usage of the avpriv_mpeg4audio_sample_rates table, which i'm not sure how to fix yet, but if the aac encoder (and its fate test) is disabled, everything builds fine and passes fate.
More information about the ffmpeg-devel