diff options
| author | Giuseppe Baruffa <gbaruffa@users.noreply.github.com> | 2007-09-03 13:30:59 +0000 |
|---|---|---|
| committer | Giuseppe Baruffa <gbaruffa@users.noreply.github.com> | 2007-09-03 13:30:59 +0000 |
| commit | 564e16d5cea51dc877870055e2703330ad323cdd (patch) | |
| tree | 55d241a023631ee09e4ae754bfde733f38018aba /OPJViewer/source/wxj2kparser.cpp | |
| parent | c4313f0b3983381332546bdae10ecab2dffdd794 (diff) | |
Added the knowledge of JPSEC SEC and INSEC markers (you have to compile the JPWL project). Management of these markers is limited to skipping them without crashing: no real security function at this stage. Deprecated USE_JPSEC and USE_JPWL will be removed next
Diffstat (limited to 'OPJViewer/source/wxj2kparser.cpp')
| -rw-r--r-- | OPJViewer/source/wxj2kparser.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OPJViewer/source/wxj2kparser.cpp b/OPJViewer/source/wxj2kparser.cpp index 69d89989..a82ecab1 100644 --- a/OPJViewer/source/wxj2kparser.cpp +++ b/OPJViewer/source/wxj2kparser.cpp @@ -303,6 +303,7 @@ void OPJParseThread::ParseJ2KFile(wxFile *m_file, wxFileOffset offset, wxFileOff };
break;
+#ifdef USE_JPWL
/////////
// RED //
/////////
@@ -550,6 +551,15 @@ void OPJParseThread::ParseJ2KFile(wxFile *m_file, wxFileOffset offset, wxFileOff }
break;
+#endif // USE_JPWL
+
+#ifdef USE_JPSEC
+ case SEC_VAL:
+ {
+
+ }
+ break;
+#endif // USE_JPSEC
/////////
// SIZ //
|
