[vlc-devel] [PATCH] trivial fix to report buffer allocation error. [trunk]

Rafaël Carré funman at videolan.org
Thu Jan 24 14:40:16 CET 2008

Le Thu, 24 Jan 2008 17:30:08 +0800,
Michael Gao <mgao at neuros.us> a écrit :

> Hi, 
> There, attached is a trivial patch to report buffer allocation error
> upon stream initialization. I am evaluating to port VLC to Neuros OSD
> platform (on a TI dual-core system) and spent quite a while before I
> realized that my embedded system does not have enough memory for big
> cache. Thus thought this patch is trivial but will help other
> integrators.

Applied with some additions:


* Note it is evil to not check memory allocation !

> Thanks,
> /MG

Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080124/de90d94d/attachment.sig>

More information about the vlc-devel mailing list