summaryrefslogtreecommitdiff
path: root/src/phdr-unwrap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/phdr-unwrap.cpp')
-rwxr-xr-xsrc/phdr-unwrap.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/phdr-unwrap.cpp b/src/phdr-unwrap.cpp
index 21c088c..be62110 100755
--- a/src/phdr-unwrap.cpp
+++ b/src/phdr-unwrap.cpp
@@ -326,6 +326,7 @@ read_JP2K_file(CommandOptions& Options)
}
}
+#ifdef HAVE_OPENSSL
if ( ASDCP_SUCCESS(result) && Options.key_flag )
{
Context = new AESDecContext;
@@ -347,6 +348,7 @@ read_JP2K_file(CommandOptions& Options)
}
}
}
+#endif // HAVE_OPENSSL
ui32_t last_frame = Options.start_frame + ( Options.duration ? Options.duration : frame_count);
if ( last_frame > frame_count )