[FFmpeg-devel] [PATCH] mem: prefer SIZE_MAX over INT_MAX in av_malloc() and av_realloc() checks

Michael Niedermayer michaelni at gmx.at
Mon May 23 21:06:24 CEST 2011

On Mon, May 23, 2011 at 06:55:01PM +0200, Nicolas George wrote:
> Le decadi 30 floréal, an CCXIX, Michael Niedermayer a écrit :
> > seriously i think allocating more (currently) is likely a bug
> > maybe in a few years rawvideo frames will need but until then its
> > safer to not extend this limit
> Isn't libavutil supposed to be useful also for non-audio-video projects?

yes, i had not considered that
the limit could be replaced by a variable.


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/73d3df2a/attachment.asc>

More information about the ffmpeg-devel mailing list