[trunk] WIP: remove previous commit about memory leak with ppm read function

This commit is contained in:
Mickael Savinaud
2011-10-20 09:19:35 +00:00
parent 73b3e0e50e
commit 45d813b62c
3 changed files with 59 additions and 22 deletions

View File

@@ -540,6 +540,8 @@ typedef struct opj_cp_v2
/** size of the ppm_data*/
OPJ_UINT32 ppm_data_read;
OPJ_BYTE *ppm_data_current;
/** packet header storage original buffer */
OPJ_BYTE *ppm_buffer;
/** pointer remaining on the first byte of the first header if ppm is used */