summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-08-22 13:55:58 +0000
committerMatthias Clasen <mclasen@redhat.com>2022-08-22 13:55:58 +0000
commit5ed89db227cd5041e1fc8fc1a5051e04b99db24f (patch)
tree40c2fbaeed5d0ca2420dbf68350674624d41312b
parent3313034f3cba6a7532bcf87e9756c0d823243dc4 (diff)
parent17a924a2275b3e7721dc05e0670cae638371a98f (diff)
downloadgdk-pixbuf-5ed89db227cd5041e1fc8fc1a5051e04b99db24f.tar.gz
Merge branch 'jakedane-master-patch-77002' into 'master'
jpeg: Increase memory limit for loading image data Closes #216 See merge request GNOME/gdk-pixbuf!143
-rw-r--r--gdk-pixbuf/io-jpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf/io-jpeg.c b/gdk-pixbuf/io-jpeg.c
index 22f4174fe..6317e20d3 100644
--- a/gdk-pixbuf/io-jpeg.c
+++ b/gdk-pixbuf/io-jpeg.c
@@ -1091,7 +1091,7 @@ gdk_pixbuf__jpeg_image_load_increment (gpointer data,
rc = jpeg_read_header (cinfo, TRUE);
context->src_initialized = TRUE;
- cinfo->mem->max_memory_to_use = 100 * 1024 * 1024;
+ cinfo->mem->max_memory_to_use = 300 * 1024 * 1024;
if (rc == JPEG_SUSPENDED)
continue;