[Vorbis-dev] Out of memory handling?

Gábor Kovács picard at movelex.hu
Mon Nov 7 00:43:02 PST 2011


Hi,

As far as I see in libvorbis most of the places where _ogg_malloc(),
_ogg_realloc and _ogg_calloc() is called the return value is not checked
for out of memory condition. Is there any plan to change this?

For my use-case the application is not allowed to crash. So if libvorbis
can not handle this condition, I guess I would need to preallocate a large
enough custom memory heap for all kind of vorbis files and override the ogg
allocation macros.

Best regards,
Gábor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/vorbis-dev/attachments/20111107/86962ee3/attachment.htm 


More information about the Vorbis-dev mailing list