diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-12-14 12:01:57 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-12-14 12:01:57 +0000 |
| commit | bef4b0c377dcbfd4b7b3a244ea09003819134c19 (patch) | |
| tree | a70f0db48017072abefcdc2031f04580a6cb71a9 /src/lib | |
| parent | 62140f05a3757db11c75eda0a5e885094eb9e8be (diff) | |
Fix crash on previewing JPEG2000.
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.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/j2k_image_proxy.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/j2k_image_proxy.cc b/src/lib/j2k_image_proxy.cc index 4e38213c8..eea4b038a 100644 --- 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; |
