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)
commita968f16e2ca09cd099b5f97bcb35bd87e7379199
tree7607784c3a7dbbec35dca61bf16ff3dafd6b66f2
parent9360625741d5dafd005fa899641a0c2024430b3f
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