summaryrefslogtreecommitdiff
path: root/src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-08-02 10:25:26 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-08-02 10:25:26 +0900
commite60baa006101c323193d694b34beeacff82e45ba (patch)
treeb4ec2b6d67706c9f6e48ec653077b168a4a8298c /src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c
parentaa75297381e96cdd02097e624d53838e947eb182 (diff)
evas: change mapping policy to be less agressive into loading file in memory.
Should fix T271.
Diffstat (limited to '')
-rw-r--r--src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c b/src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c
index 60de55aca7..11df6e7fa7 100644
--- a/src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c
+++ b/src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c
@@ -1306,7 +1306,7 @@ evas_image_load_file_head_jpeg(void *loader_data,
1306 opts = loader->opts; 1306 opts = loader->opts;
1307 f = loader->f; 1307 f = loader->f;
1308 1308
1309 map = eina_file_map_all(f, EINA_FILE_WILLNEED); 1309 map = eina_file_map_all(f, EINA_FILE_RANDOM);
1310 if (!map) 1310 if (!map)
1311 { 1311 {
1312 *error = EVAS_LOAD_ERROR_DOES_NOT_EXIST; 1312 *error = EVAS_LOAD_ERROR_DOES_NOT_EXIST;