gst/videoscale/videoscale.c: Fix the scaling algorithm and avoid a buffer overflow...
authorWim Taymans <wim.taymans@gmail.com>
Mon, 24 May 2004 14:48:54 +0000 (14:48 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 24 May 2004 14:48:54 +0000 (14:48 +0000)
commita6e2d4002bc31885d92e741c6d284f4924777bbd
treee534f14cb68e2dfb452d71a0faa72fbf6d6deb2b
parent20e91b0f357344feafc46d66426eb2e476952d3e
gst/videoscale/videoscale.c: Fix the scaling algorithm and avoid a buffer overflow. removed the while loop in the sca...

Original commit message from CVS:
* gst/videoscale/videoscale.c: (gst_videoscale_scale_nearest),
(gst_videoscale_scale_nearest_str2),
(gst_videoscale_scale_nearest_str4),
(gst_videoscale_scale_nearest_32bit),
(gst_videoscale_scale_nearest_24bit),
(gst_videoscale_scale_nearest_16bit):
Fix the scaling algorithm and avoid a buffer overflow.
removed the while loop in the scaling function as it
was used for point sampling only.
ChangeLog