Re: rc3 - yuvscaler crash with -M BICUBIC

"Steven M. Schultz" <[email protected]> Tue, 11 Dec 2007 06:00:37 -0800 (PST)
Newsgroups gmane.comp.video.mjpeg.devel
Message-ID <[email protected]>
On Tue, 11 Dec 2007, [email protected] wrote:

> Hi I'm currently on MacOS 10.4.11 intel
> whitout any patch (RC3), there is no crash  with bicubic and  
> yuvscaler in MacOS <10.5
> 
> Where can I have your patch to compile and test it on 10.4.11?

	cvs update
	./autogen.sh
	./configure
	make

	:)

	OR since it is such an extremely simple patch you can change line
	1675 of yuvscaler.c from this:

       if (!(intermediate = (int32_t *) malloc(output_active_width*(input_useful_height + height_neighbors)*sizeof(int32_t))))

       to this

       if (!(intermediate = (int32_t *) malloc(output_active_width*(input_useful_height + height_neighbors+1)*sizeof(int32_t))))

	Cheers,
	Steven Schultz


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php