[FFmpeg-devel] [PATCH] mem: define the MAX_MALLOC_SIZE constant and use it in place of INT_MAX

Michael Niedermayer michaelni at gmx.at
Mon May 23 00:56:34 CEST 2011


On Mon, May 23, 2011 at 12:04:22AM +0200, Stefano Sabatini wrote:
> This makes simpler to re-dimensionate the constant, since now it is
> defined only in one point.
> ---
>  libavutil/mem.c |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)

LGTM

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110523/cf25d4b2/attachment.asc>


More information about the ffmpeg-devel mailing list