diff options
| author | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-10-26 10:04:55 +0000 |
|---|---|---|
| committer | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-10-26 10:04:55 +0000 |
| commit | cdea5c8eefde8a7837a9245ac3f9a3dc8b18aa27 (patch) | |
| tree | 223729a0124961faf779c85ace9be28dad5ee38b /src/lib/openjp2/mct.c | |
| parent | bcc386e3bbedee9ccf1b6a231f55fdcf8f584e89 (diff) | |
[trunk] remove some warnings from -Wall -Wextra -pedantic
Diffstat (limited to 'src/lib/openjp2/mct.c')
| -rw-r--r-- | src/lib/openjp2/mct.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/openjp2/mct.c b/src/lib/openjp2/mct.c index 59664241..8a5c4afc 100644 --- a/src/lib/openjp2/mct.c +++ b/src/lib/openjp2/mct.c @@ -218,6 +218,8 @@ opj_bool opj_mct_encode_custom( OPJ_UINT32 lMultiplicator = 1 << 13; OPJ_INT32 * lMctPtr; + OPJ_ARG_NOT_USED(isSigned); + lCurrentData = (OPJ_INT32 *) opj_malloc((pNbComp + lNbMatCoeff) * sizeof(OPJ_INT32)); if (! lCurrentData) { return OPJ_FALSE; @@ -267,6 +269,8 @@ opj_bool opj_mct_decode_custom( OPJ_FLOAT32 * lCurrentResult = 00; OPJ_FLOAT32 ** lData = (OPJ_FLOAT32 **) pData; + OPJ_ARG_NOT_USED(isSigned); + lCurrentData = (OPJ_FLOAT32 *) opj_malloc (2 * pNbComp * sizeof(OPJ_FLOAT32)); if (! lCurrentData) { return OPJ_FALSE; |
