summaryrefslogtreecommitdiff
path: root/src/lib/evas/common
diff options
context:
space:
mode:
authorGodly T.Alias <godlytalias@yahoo.co.in>2017-10-13 11:58:49 -0700
committerCedric Bail <cedric@osg.samsung.com>2017-10-13 11:58:59 -0700
commit3ad9ac892696495a822fa1b2d273e70bfccb4698 (patch)
tree7f3d5d7cd692541e805b37b3581328a0732323a2 /src/lib/evas/common
parent5a24f1404a2af4437f4002f326bfa15f24332fc3 (diff)
evas: buffer is not used in the case where destination and source dimension is different
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>
Diffstat (limited to 'src/lib/evas/common')
-rw-r--r--src/lib/evas/common/evas_scale_sample.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/evas/common/evas_scale_sample.c b/src/lib/evas/common/evas_scale_sample.c
index 55cfbe4bd8..daa57f6497 100644
--- a/src/lib/evas/common/evas_scale_sample.c
+++ b/src/lib/evas/common/evas_scale_sample.c
@@ -727,9 +727,6 @@ scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst,
727 { 727 {
728 unsigned int mul_col; 728 unsigned int mul_col;
729 729
730 /* a scanline buffer */
731 buf = alloca(dst_clip_w * sizeof(DATA32));
732
733 mul_col = dc->mul.use ? dc->mul.col : 0xFFFFFFFF; 730 mul_col = dc->mul.use ? dc->mul.col : 0xFFFFFFFF;
734 731
735 /* do we have enough data to start some additional thread ? */ 732 /* do we have enough data to start some additional thread ? */