diff options
Diffstat (limited to 'gdk-pixbuf/io-jasper.c')
-rw-r--r-- | gdk-pixbuf/io-jasper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf/io-jasper.c b/gdk-pixbuf/io-jasper.c index d3b26bb5e..b495f652b 100644 --- a/gdk-pixbuf/io-jasper.c +++ b/gdk-pixbuf/io-jasper.c @@ -67,7 +67,7 @@ jasper_image_begin_load (GdkPixbufModuleSizeFunc size_func, jas_init (); - stream = jas_stream_memopen (NULL, -1); + stream = jas_stream_memopen (NULL, 0); if (!stream) { g_set_error_literal (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY, _("Couldn’t allocate memory for stream")); |