aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mupdf/mupdf-openjpeg-2.1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mupdf/mupdf-openjpeg-2.1.patch')
-rw-r--r--testing/mupdf/mupdf-openjpeg-2.1.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/mupdf/mupdf-openjpeg-2.1.patch b/testing/mupdf/mupdf-openjpeg-2.1.patch
new file mode 100644
index 0000000000..70481400ed
--- /dev/null
+++ b/testing/mupdf/mupdf-openjpeg-2.1.patch
@@ -0,0 +1,11 @@
+--- mupdf-1.5/source/fitz/load-jpx.c
++++ mupdf-1.5/source/fitz/load-jpx.c
+@@ -116,7 +116,7 @@
+ opj_stream_set_read_function(stream, fz_opj_stream_read);
+ opj_stream_set_skip_function(stream, fz_opj_stream_skip);
+ opj_stream_set_seek_function(stream, fz_opj_stream_seek);
+- opj_stream_set_user_data(stream, &sb);
++ opj_stream_set_user_data(stream, &sb, NULL);
+ /* Set the length to avoid an assert */
+ opj_stream_set_user_data_length(stream, size);
+