hermet pushed a commit to branch master.

commit 231d619c8c1b7616a0b077471877432961a78a91
Author: ChunEon Park <[email protected]>
Date:   Thu Jul 25 16:05:56 2013 +0900

    evas - found a inccorect check while reading the code.
---
 src/modules/evas/engines/software_generic/evas_engine.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/evas/engines/software_generic/evas_engine.c 
b/src/modules/evas/engines/software_generic/evas_engine.c
index 9fb0051..5163a56 100644
--- a/src/modules/evas/engines/software_generic/evas_engine.c
+++ b/src/modules/evas/engines/software_generic/evas_engine.c
@@ -1454,10 +1454,10 @@ _draw_thread_map_draw(void *data)
    RGBA_Image *im = map->image;
    int dx, dy, dw, dh;
 
-   if (m->count - offset < 3) goto free_out;
-
    do
      {
+        if (m->count - offset < 3) goto free_out;
+
         //Fully Transparency. Skip this.
         if (!(m->pts[0 + offset].col & 0xff000000) &&
             !(m->pts[1 + offset].col & 0xff000000) &&

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

Reply via email to