[FFmpeg-soc] [soc]: r2791 - aac/aac.c

Robert Swain robert.swain at gmail.com
Tue Jul 15 17:03:03 CEST 2008


2008/7/15 Benjamin Larsson <banan at ludd.ltu.se>:
> superdump wrote:
>> Author: superdump
>> Date: Tue Jul 15 15:47:11 2008
>> New Revision: 2791
>>
>> Log:
>> Add some allocation checks
>>
>
> There should be a NOMEM error. Look in cook.c for reference.

Or rather atrac3.c or so. How about the attached? I had to add code to
propagate the error values through to the main functions as I assume
only the return values of the init, decode, encode and close functions
really matter.

Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20080715-1557-propagate_errors_and_add_nomem.diff
Type: text/x-diff
Size: 6900 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/attachments/20080715/b5516f65/attachment.diff>


More information about the FFmpeg-soc mailing list