<div>Actually I found out the ar file was really damaged. I don't really know how this happened because I used it a few minutes earlier with MinGW but.. anyway, I rebuilt the library and Visual Studio correctly links against it.</div>
<div><br></div><div>Thus, solved.</div><div><br></div><div>Lucas Soltic</div><br><div class="gmail_quote">2011/6/7 Soltic Lucas <span dir="ltr"><<a href="mailto:soltic.lucas@gmail.com">soltic.lucas@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<div><br></div><div>I've been trying to use FFmpeg's static libraries in a Visual Studio 2010 project, but till now I've failed because of the following errors:</div>
<div><div>1>C:/Users/Ceylo/Development/sfeMovie/deps/ffmpeg-build\libavcodec.a : fatal error LNK1136: fichier non valide ou endommagé</div>
<div>1>  </div><div>1>C:/Users/Ceylo/Development/sfeMovie/deps/ffmpeg-build\libavcodec.a : fatal error LNK1000: Internal error during IMAGE::Pass1</div></div><div>(then Microsoft's Incremental Linker crashes)</div>

<div>(the English translation of the first message is "invalid or damaged file")</div><div><br></div><div>The library was built using MinGW ( <a href="http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/" target="_blank">http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/</a> ) from FFmpeg's 0.6.3 sources and I followed the explanations given there : <a href="http://ffmpeg.org/general.html#SEC21" target="_blank">http://ffmpeg.org/general.html#SEC21</a></div>

<div><br></div><div>I coudln't find any satisfying answer about this on the internet though it rather seems to be related to Visual Studio. From what I read static libraries built with MinGW can be used within Visual Studio without the debugging support. But here I couldn't get the sample to build.</div>

<div><br></div><div>Thanks,</div><div>Lucas Soltic</div>
</blockquote></div><br>