diff --git a/Testing/Utilities/openJpegDecoder.cxx b/Testing/Utilities/openJpegDecoder.cxx index e277509d49d8ced09c357d8081451c6d79211fb2..7fa6044d79312ea3079ec4cda6e8d2b1f7c0001f 100644 --- a/Testing/Utilities/openJpegDecoder.cxx +++ b/Testing/Utilities/openJpegDecoder.cxx @@ -23,7 +23,10 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ -#define USE_OPJ_DEPRECATED + +// Modif Otb-dev, this option is set in CMakeLists.txt +//#define USE_OPJ_DEPRECATED + /* set this macro to enable profiling for the given test */ /* warning : in order to be effective, openjpeg must have been built with profiling enabled !! */ //#define _PROFILE diff --git a/Testing/Utilities/openJpegEncoder.cxx b/Testing/Utilities/openJpegEncoder.cxx index e78450913b36ac3f67a2cce64f1b9cf861e855cf..c36057c0f69c4aceceb71355a4949baa98902db1 100644 --- a/Testing/Utilities/openJpegEncoder.cxx +++ b/Testing/Utilities/openJpegEncoder.cxx @@ -23,7 +23,9 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ -#define USE_OPJ_DEPRECATED + +// Modif Otb-dev, this option is set in CMakeLists.txt +//#define USE_OPJ_DEPRECATED #include "openjpeg.h" #include "profile.h"