summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-01-06 14:13:04 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-01-06 14:13:04 +0000
commit0472f219790b822a3f41c12621a4001d7e5dfb86 (patch)
tree13da601499bf382fc29e1b3f3a1eb03ba4559a10
parentc3577929b38803b6454cfb1a9cc552cd52d082d2 (diff)
evas webp loader - stop complainig its an invalid file
when a file has no extension to guess by.. evas goes back to trying every loader until one works. this leads to noise. loaders should not printf/stder or eina log err anything if the file seems to not be valid. @fix
-rw-r--r--src/modules/evas/image_loaders/webp/evas_image_load_webp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/evas/image_loaders/webp/evas_image_load_webp.c b/src/modules/evas/image_loaders/webp/evas_image_load_webp.c
index 8026e0c880..43588a0588 100644
--- a/src/modules/evas/image_loaders/webp/evas_image_load_webp.c
+++ b/src/modules/evas/image_loaders/webp/evas_image_load_webp.c
@@ -168,7 +168,6 @@ evas_image_load_file_head_webp(void *loader_data,
168 &prop->w, &prop->h, &prop->alpha, 168 &prop->w, &prop->h, &prop->alpha,
169 error)) 169 error))
170 { 170 {
171 ERR("Image File is Invalid");
172 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT; 171 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT;
173 return EINA_FALSE; 172 return EINA_FALSE;
174 } 173 }