evas: buffer is not used in the case where destination and source dimension is different
authorGodly T.Alias <godlytalias@yahoo.co.in>
Fri, 13 Oct 2017 18:58:49 +0000 (11:58 -0700)
committerCedric Bail <cedric@osg.samsung.com>
Fri, 13 Oct 2017 18:58:59 +0000 (11:58 -0700)
Summary: Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in>

Reviewers: cedric, raster, rajeshps, prince.dubey

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D5286

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
src/lib/evas/common/evas_scale_sample.c

index 55cfbe4..daa57f6 100644 (file)
@@ -727,9 +727,6 @@ scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst,
           {
              unsigned int mul_col;
 
-             /* a scanline buffer */
-             buf = alloca(dst_clip_w * sizeof(DATA32));
-
              mul_col = dc->mul.use ? dc->mul.col : 0xFFFFFFFF;
 
              /* do we have enough data to start some additional thread ? */