title: Compiling FFMpeg libraries for Visual Studio
body: <p>I'm trying to use the FFMpeg libraries in a Windows application. I use MingW-w64 to compile FFMpeg with static libraries with architecture once with x86 and once with x86_64. 
  Currently I'm trying to link the 32bit x86 libraries with my VS2008 application. 
  The libraries are added to the library path and VS does not complain about being unable to load a .a file.</p>
  
  <p>However I get several uneresolved symbol errors like
  ait_rtp_receiver.lib(ait_decoder_lib.obj) : error LNK2001: unresolved external symbol _av_free</p>
  
  <p>I import the FFMpeg header files as extern C and I can see the symbols in the .a without the leading underscore. 
  What can I do to make the name decoration of Mingw-w64's gcc and of the VS compiler suite compatible?</p>