Remove more warnings
This commit is contained in:
parent
548a49bb7f
commit
82e539d333
2
CHANGES
2
CHANGES
|
@ -6,7 +6,7 @@ What's New for OpenJPEG
|
||||||
+ : added
|
+ : added
|
||||||
|
|
||||||
December 8, 2011
|
December 8, 2011
|
||||||
* [Mathieu Malaterre] Remove 6 warnings (gcc)
|
* [Mathieu Malaterre] Remove 9 warnings (gcc)
|
||||||
|
|
||||||
December 7, 2011
|
December 7, 2011
|
||||||
- [mickael] deactivate tests about class0 files with number of components greater to 1
|
- [mickael] deactivate tests about class0 files with number of components greater to 1
|
||||||
|
|
|
@ -65,7 +65,7 @@ void reset_options_reading(void) {
|
||||||
int opj_getopt(int nargc, char *const *nargv, const char *ostr) {
|
int opj_getopt(int nargc, char *const *nargv, const char *ostr) {
|
||||||
# define __progname nargv[0]
|
# define __progname nargv[0]
|
||||||
static char *place = EMSG; /* option letter processing */
|
static char *place = EMSG; /* option letter processing */
|
||||||
char *oli; /* option letter list index */
|
char *oli = NULL; /* option letter list index */
|
||||||
|
|
||||||
if (opj_optreset || !*place) { /* update scanning pointer */
|
if (opj_optreset || !*place) { /* update scanning pointer */
|
||||||
opj_optreset = 0;
|
opj_optreset = 0;
|
||||||
|
|
|
@ -74,6 +74,7 @@ int write_cidx( int offset, opj_cio_t *cio, opj_image_t *image, opj_codestream_i
|
||||||
int num_box = 0;
|
int num_box = 0;
|
||||||
opj_bool EPHused;
|
opj_bool EPHused;
|
||||||
|
|
||||||
|
lenp = -1;
|
||||||
box = (opj_jp2_box_t *)opj_calloc( 32, sizeof(opj_jp2_box_t));
|
box = (opj_jp2_box_t *)opj_calloc( 32, sizeof(opj_jp2_box_t));
|
||||||
|
|
||||||
for (i=0;i<2;i++){
|
for (i=0;i<2;i++){
|
||||||
|
|
|
@ -58,6 +58,7 @@ int write_ppix( int coff, opj_codestream_info_t cstr_info, opj_bool EPHused, int
|
||||||
|
|
||||||
// printf("cstr_info.packno %d\n", cstr_info.packno); //NMAX?
|
// printf("cstr_info.packno %d\n", cstr_info.packno); //NMAX?
|
||||||
|
|
||||||
|
lenp = -1;
|
||||||
box = (opj_jp2_box_t *)opj_calloc( cstr_info.numcomps, sizeof(opj_jp2_box_t));
|
box = (opj_jp2_box_t *)opj_calloc( cstr_info.numcomps, sizeof(opj_jp2_box_t));
|
||||||
|
|
||||||
for (i=0;i<2;i++){
|
for (i=0;i<2;i++){
|
||||||
|
|
Loading…
Reference in New Issue