[FFmpeg-devel] [PATCH 2/3] configure: Set large address aware.
Reimar.Doeffinger at gmx.de
Sun Sep 28 10:49:51 CEST 2014
On Sun, Sep 21, 2014 at 10:17:15AM +0100, Reimar Döffinger wrote:
> 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.
Any other comments?
Note the documentation for that option:
> The /LARGEADDRESSAWARE option tells the linker that the application can
> handle addresses larger than 2 gigabytes.
This flag is _only_ used to signal that an application can deal
with addresses that use more than 31 address bits.
I.e. it is only for those horribly misdesigned programs that
thought "oh, let's store some extra stuff in that unused high bit
of the address". Which FFmpeg definitely does not.
There is no indication that ptrdiff_t limitations or similar have
any relevance to whether one should set this or not.
More information about the ffmpeg-devel