summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-09-19 23:34:39 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-09-19 23:34:39 +0100
commit2bea2c7b87a13de3da8c5e73a0b1034c565d34d9 (patch)
tree2202442271ed1fdc71de367cc54009c1f1aea5cd /src/modules
parentec4076b8959ff50033a2131a4fd51eaa57ea7e4f (diff)
emotion - check return of eet data write
fix CID 1401040
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/ethumb/emotion/emotion.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/ethumb/emotion/emotion.c b/src/modules/ethumb/emotion/emotion.c
index ccad1c9074..0a8447f49b 100644
--- a/src/modules/ethumb/emotion/emotion.c
+++ b/src/modules/ethumb/emotion/emotion.c
@@ -319,8 +319,9 @@ _frame_grab(void *data)
319 319
320 pixels = ecore_evas_buffer_pixels_get(ee); 320 pixels = ecore_evas_buffer_pixels_get(ee);
321 snprintf(buf, sizeof(buf), "images/%d", _plugin->frnum); 321 snprintf(buf, sizeof(buf), "images/%d", _plugin->frnum);
322 eet_data_image_write(_plugin->ef, buf, pixels, _plugin->w, _plugin->h, 322 if (!eet_data_image_write(_plugin->ef, buf, pixels, _plugin->w, _plugin->h,
323 0, compress, quality, quality); 323 0, compress, quality, quality))
324 return EINA_TRUE;
324 _plugin->frnum++; 325 _plugin->frnum++;
325 } 326 }
326 327