summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-29 09:41:55 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-29 09:42:44 +0900
commitc0764e153e25f61f5261bc37bad80a92be744ca2 (patch)
treebf18d96a0131fa3db114fd39f9ee1255389496dc
parent9c507faf2af4d4fae63e27ccdd7a211b60f28f3d (diff)
evas git loader - move findo reset inside else as only that changes it
only the else changes finfo so reset inside there. not really any bug at all byt style-wise a bit better and analysers don't like it found by PVS studio
-rw-r--r--src/modules/evas/image_loaders/gif/evas_image_load_gif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/evas/image_loaders/gif/evas_image_load_gif.c b/src/modules/evas/image_loaders/gif/evas_image_load_gif.c
index 56464494af..737e3fb7be 100644
--- a/src/modules/evas/image_loaders/gif/evas_image_load_gif.c
+++ b/src/modules/evas/image_loaders/gif/evas_image_load_gif.c
@@ -738,9 +738,9 @@ open_file:
738 memcpy(thisframe->data, prevframe2->data, 738 memcpy(thisframe->data, prevframe2->data,
739 prop->w * prop->h * sizeof(DATA32)); 739 prop->w * prop->h * sizeof(DATA32));
740 } 740 }
741 finfo = thisframe->info;
741 } 742 }
742 // now draw this frame on top 743 // now draw this frame on top
743 finfo = thisframe->info;
744 _clip_coords(prop->w, prop->h, &xin, &yin, 744 _clip_coords(prop->w, prop->h, &xin, &yin,
745 finfo->x, finfo->y, finfo->w, finfo->h, 745 finfo->x, finfo->y, finfo->w, finfo->h,
746 &x, &y, &w, &h); 746 &x, &y, &w, &h);