diff options
author | tugdilgoldhand | 2016-02-13 18:58:03 +0100 |
---|---|---|
committer | tugdilgoldhand | 2016-02-13 18:58:03 +0100 |
commit | 6020a93d30eda4ae52b06ceed7421776704ea0cf (patch) | |
tree | b317ff33a9f991ca836f60c38adcf4b73de62e32 /mupdf-1.5-openjpeg-2.1.0.patch | |
download | aur-6020a93d30eda4ae52b06ceed7421776704ea0cf.tar.gz |
Initial commit
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); + |