[FFmpeg-devel] [PATCH 2/3] configure: Set large address aware.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Sep 21 11:17:15 CEST 2014


Allows 32 bit version of FFmpeg to use up to 4 GB of RAM
instead of just 2 GB on Windows if the OS can provide it.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 2c6db81..dec1cfc 100755
--- a/configure
+++ b/configure
@@ -3951,6 +3951,7 @@ case $target_os in
         enabled shared && ! enabled small && check_cmd $windres --version && enable gnu_windres
         check_ldflags -Wl,--nxcompat
         check_ldflags -Wl,--dynamicbase
+        check_ldflags -Wl,--large-address-aware
         shlibdir_default="$bindir_default"
         SLIBPREF=""
         SLIBSUF=".dll"
-- 
1.9.1



More information about the ffmpeg-devel mailing list