[FFmpeg-devel] [PATCH] Force users to specify memalign_hack in configure

Michael Kostylev mik
Tue Mar 4 15:25:26 CET 2008

At Mon, 3 Mar 2008 18:04:27 -0500,
Ronald S. Bultje wrote:

 >>> I don't understand the logic here. So the default compilation of ffmpeg on
 >>> *DOS (and such) should fail to run because you want people to manually
 >>> enable this memalign hack? Why? Is there ever a case that ffmpeg runs fine
 >>> on *DOS (and such) without enabling memalign_hack (and no, 
 >>> --disable-mmx is not a sufficient answer here).
 >> No, either crashes with page fault, or (only under win9x) exits with
 >> malloc error.
 > Then (ideally) this should be detected with a configure check

During cross-compilation?

 > and auto-enabled.

It was auto-enabled because there are near zero chances that the malloc stuff will be ever fixed.

 > *DOS people will get a bad impression if ffmpeg crashes randomly.

I wonder why this patch was applied without proper changes in the documentation.


More information about the ffmpeg-devel mailing list