summaryrefslogtreecommitdiff
path: root/OPJViewer/source/imagjp2.cpp
diff options
context:
space:
mode:
authorGiuseppe Baruffa <gbaruffa@users.noreply.github.com>2007-10-23 14:33:40 +0000
committerGiuseppe Baruffa <gbaruffa@users.noreply.github.com>2007-10-23 14:33:40 +0000
commit123a680669995d50f354dd0159c83e7803a70ef3 (patch)
treefe2bb39f613dca8738f833d7e696e77008751bed /OPJViewer/source/imagjp2.cpp
parent9e114bcaa47194a9f6af8eadf6d7cb9bb1ec277f (diff)
Improved success for the linux build; OPJViewer shows all the COM contents
Diffstat (limited to 'OPJViewer/source/imagjp2.cpp')
-rw-r--r--OPJViewer/source/imagjp2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/OPJViewer/source/imagjp2.cpp b/OPJViewer/source/imagjp2.cpp
index 7328e807..3c61905b 100644
--- a/OPJViewer/source/imagjp2.cpp
+++ b/OPJViewer/source/imagjp2.cpp
@@ -194,7 +194,7 @@ bool wxJP2Handler::LoadFile(wxImage *image, wxInputStream& stream, bool verbose,
cio = opj_cio_open((opj_common_ptr)dinfo, src, file_length);
/* decode the stream and fill the image structure */
- opjimage = opj_decode(dinfo, cio, &cstr_info);
+ opjimage = opj_decode_with_info(dinfo, cio, &cstr_info);
if (!opjimage) {
#ifndef __WXGTK__
wxMutexGuiEnter();