On Sun, 6 May 2007, Bernhard Praschinger wrote:

> I have got a bug report from Petr, he found in the mjpegtools RC2.
> 
> The patches look ok for me
        
        Any patch that uses malloc.h is incorrect.

        malloc.h should NEVER be used.  It was deprecated a decade or more
        ago.  Also it does not exist on some systems.

> 2) mjpegtools-1.9.0rc2/utils/cpu_accel.c:364,368:
>       implicit declaration of 'memalign'
> 
> missing #include <malloc.h>

        Incorrect.

        Use <string.h> instead.    And <string.h> is already bine

        man memset

> Patches for both are attached. Please confirm, whether the first one is
> correct.

        The other part of the patch looks ok - fixes what is obviously a
        typo.

        Cheers,
        Steven Schultz


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to