Re: [Mjpeg-users] bugs in mjpegtools-1.9.0rc2

2007-05-09 Thread Steven M. Schultz
On Wed, 9 May 2007, Petr Cerny wrote: > > missing #include > > If you don't like malloc.h, probably posix_memalign() could be of use. If you look more closely at the code you will see that the reference to memalign() (for which malloc.h is needed) is in the posix_memal

Re: [Mjpeg-users] bugs in mjpegtools-1.9.0rc2

2007-05-09 Thread Petr Cerny
Bernhard Praschinger wrote: > Hallo > > I have got a bug report from Petr, he found in the mjpegtools RC2. > > The patches look ok for me > > Here is his mail: > I tried to compile the RC2 and encountered the following problems: > > 2) mjpegtools-1.9.0rc2/utils/cpu_accel.c:364,368: > implic

Re: [Mjpeg-users] bugs in mjpegtools-1.9.0rc2

2007-05-05 Thread Steven M. Schultz
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.

[Mjpeg-users] bugs in mjpegtools-1.9.0rc2

2007-05-05 Thread Bernhard Praschinger
Hallo I have got a bug report from Petr, he found in the mjpegtools RC2. The patches look ok for me Here is his mail: I tried to compile the RC2 and encountered the following problems: 1) mjpegtools-1.9.0rc2/mpeg2enc/motionest.cc:1162: warning: 'dualp_mc$pos$y' is used uninitialized in