[Mjpeg-users] png2yuv memory leak and fix

2009-05-15 Thread j
A simple fix, the png library needs to free memory after every read of a png image. --- lavtools/png2yuv.c.orig Fri May 15 03:23:58 2009 +++ lavtools/png2yuv.c Fri May 15 03:24:44 2009 @@ -407,6 +407,7 @@ int decode_png(const char *pngname, int process, param return 2; } + png_des

[Mjpeg-users] mplex fail......

2009-05-15 Thread Martin Leicht
Hi, with my duron 1300 system, mplex 1.9.0 do not work. Im using kubuntu 9.04. The output on a xterm is: inter...@internet-desktop:/media/usb160/sich_11_05/Videos$ mplex -f 8 maus.mp2 maus.mp2 -o film.mpg INFO: [mplex] mplex version 1.9.0 (2.2.7 $Date: 2006/02/01 22:23:01 $) INFO: [mplex]

Re: [Mjpeg-users] png2yuv memory leak and fix

2009-05-15 Thread Steven M. Schultz
On Thu, 14 May 2009 j...@bitminer.ca wrote: > A simple fix, the png library needs to free memory after every read of a > png image. > > + png_destroy_read_struct(&png_ptr, &info_ptr, &end_info); >fclose(pngfile); > >return 1; Fix checked in. Interestingly enough the memory _w