2017-11-26 2:05 GMT+01:00 Derek Buitenhuis <derek.buitenh...@gmail.com>: > On 11/26/2017 12:14 AM, Carl Eugen Hoyos wrote: >> I am of course in favour of such checks but is there an allocator we support >> that actually returns NULL on oom? > > Anything that doesn't use overcommit. Windows is the big obvious one here. > Also > various UNIX-like things, and even Linux is not guaranteed to return non-NULL, > depending on how the kernel is set up (e.g. on some RHELs I think, or on > plenty of embedded setups.) > > Some libcs will fail if the requested size is outside of the allowed range.
Thank you for the explanation! Carl Eugen _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel