git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b71b3ae
)
fixed bug in jpeg2000 decoding
author
Matthias Kramm
<kramm@quiss.org>
Mon, 7 Jun 2010 22:36:54 +0000
(15:36 -0700)
committer
Matthias Kramm
<kramm@quiss.org>
Mon, 7 Jun 2010 22:36:54 +0000
(15:36 -0700)
lib/pdf/xpdf-changes.patch
patch
|
blob
|
history
diff --git
a/lib/pdf/xpdf-changes.patch
b/lib/pdf/xpdf-changes.patch
index
a4e27bc
..
19b7bc1
100644
(file)
--- a/
lib/pdf/xpdf-changes.patch
+++ b/
lib/pdf/xpdf-changes.patch
@@
-656,6
+656,19
@@
syms = (JBIG2Bitmap **)gmallocn(numSyms, sizeof(JBIG2Bitmap *));
--- xpdf/JPXStream.cc.orig 2010-05-18 11:22:18.000000000 -0700
+++ xpdf/JPXStream.cc 2010-05-18 11:22:18.000000000 -0700
syms = (JBIG2Bitmap **)gmallocn(numSyms, sizeof(JBIG2Bitmap *));
--- xpdf/JPXStream.cc.orig 2010-05-18 11:22:18.000000000 -0700
+++ xpdf/JPXStream.cc 2010-05-18 11:22:18.000000000 -0700
+@@ -241,6 +242,12 @@
+ haveCompMap = gFalse;
+ haveChannelDefn = gFalse;
+
++ img.xSize = 0;
++ img.ySize = 0;
++ img.xOffset = 0;
++ img.yOffset = 0;
++ curX = 0;
++ curY = 0;
+ img.tiles = NULL;
+ bitBuf = 0;
+ bitBufLen = 0;
@@ -450,6 +450,7 @@
GBool haveBPC, haveCSMode;
@@ -450,6 +450,7 @@
GBool haveBPC, haveCSMode;