projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
62140f0
)
Fix crash on previewing JPEG2000.
author
Carl Hetherington
<cth@carlh.net>
Wed, 14 Dec 2016 12:01:57 +0000
(12:01 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 14 Dec 2016 12:01:57 +0000
(12:01 +0000)
I remember adding this line to fix a completely screwed up display,
but on testing again it seems to be wrong; it results in wildly out-of-range
memory access. Not sure what's going on.
src/lib/j2k_image_proxy.cc
patch
|
blob
|
history
diff --git
a/src/lib/j2k_image_proxy.cc
b/src/lib/j2k_image_proxy.cc
index 4e38213c8326ef1930da01cc3a3cf934efa96730..eea4b038a2c841861a5799288bb216cb7ee9cafc 100644
(file)
--- a/
src/lib/j2k_image_proxy.cc
+++ b/
src/lib/j2k_image_proxy.cc
@@
-139,7
+139,6
@@
J2KImageProxy::image (optional<dcp::NoteHandler>, optional<dcp::Size> target_siz
}
++p;
}
- p += _j2k->factor(0) * width;
}
return image;