From 811c01cc2e942f5d7231a406636e111ca0e13de8 Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Sat, 17 Mar 2012 18:06:54 +0000 Subject: [PATCH] [trunk] Fix compilation win32 with shared libs on (export symbol name) --- libopenjpeg/openjpeg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libopenjpeg/openjpeg.h b/libopenjpeg/openjpeg.h index 909dbf47..611a778b 100644 --- a/libopenjpeg/openjpeg.h +++ b/libopenjpeg/openjpeg.h @@ -1456,11 +1456,11 @@ Setup the encoder parameters using the current image and using user parameters. OPJ_API opj_bool OPJ_CALLCONV opj_setup_encoder_v2(opj_codec_t *cinfo, opj_cparameters_t *parameters, opj_image_t *image); -opj_bool OPJ_CALLCONV opj_start_compress ( opj_codec_t *p_codec, +OPJ_API opj_bool OPJ_CALLCONV opj_start_compress ( opj_codec_t *p_codec, opj_image_t * p_image, opj_stream_t *p_cio); -opj_bool OPJ_CALLCONV opj_end_compress (opj_codec_t *p_codec,opj_stream_t *p_cio); +OPJ_API opj_bool OPJ_CALLCONV opj_end_compress (opj_codec_t *p_codec,opj_stream_t *p_cio); /** Encode an image into a JPEG-2000 codestream