On Mon, Jan 09, 2012 at 04:02:30PM -0300, Gonzalo Garramuno wrote:
> 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.

you could try asking at zeranoes forum, they probably know better
how to compile for windows.
except that my suggestion would be to read the manuals of the compiler
and linker and look for alignment related options.
also a newer compiler might work better but iam guessing here ...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to