diff options
Diffstat (limited to 'mupdf-1.5-openjpeg-2.1.0.patch')
-rw-r--r-- | mupdf-1.5-openjpeg-2.1.0.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mupdf-1.5-openjpeg-2.1.0.patch b/mupdf-1.5-openjpeg-2.1.0.patch new file mode 100644 index 000000000000..889edcdea34c --- /dev/null +++ b/mupdf-1.5-openjpeg-2.1.0.patch @@ -0,0 +1,13 @@ +diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c +index dd7bf9e..b7c8680 100644 +--- a/source/fitz/load-jpx.c ++++ b/source/fitz/load-jpx.c +@@ -116,7 +116,7 @@ fz_load_jpx(fz_context *ctx, unsigned char *data, int size, fz_colorspace *defcs + 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); + |