[Libav-user] problems on windows cross compile

Gonzalo Garramuno ggarra13 at gmail.com
Mon Jan 9 20:02:30 CET 2012


I have been trying to compile ffmpeg for windows either as a cross compile
from linux.
Under the cross compile all compiles fine, but the resulting dlls crash on
some movies and ffmpeg reports that the compiler did not align the memory
correctly.
I use

configure --enable-shared --enable-memalign-hack --target-os=mingw32
--arch=i586 --disable-yasm --cross-prefix=i386-mingw32-

Disabling yasm seems to improve things with less crashes.
To compile the dlls into my executable, I run LIB.EXE from microsoft on the
resulting .def files to create .lib files.


-- 
Gonzalo Garramuño
ggarra13 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120109/87a14102/attachment.html>


More information about the Libav-user mailing list