[trunk] remove warnings
This commit is contained in:
parent
e798fe37e1
commit
37ff9b029c
@ -345,10 +345,10 @@ OPJ_PROG_ORDER give_progression(char progression[4]) {
|
||||
return PROG_UNKNOWN;
|
||||
}
|
||||
|
||||
int get_num_images(char *imgdirpath){
|
||||
unsigned int get_num_images(char *imgdirpath){
|
||||
DIR *dir;
|
||||
struct dirent* content;
|
||||
int num_images = 0;
|
||||
unsigned int num_images = 0;
|
||||
|
||||
/*Reading the input images from given input directory*/
|
||||
|
||||
@ -1597,7 +1597,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
char indexfilename[OPJ_PATH_LEN]; /* index file name */
|
||||
|
||||
int i, num_images, imageno;
|
||||
unsigned int i, num_images, imageno;
|
||||
img_fol_t img_fol;
|
||||
dircnt_t *dirptr = NULL;
|
||||
|
||||
|
@ -71,9 +71,7 @@ int main(int argc, char *argv[])
|
||||
opj_image_t *image;
|
||||
opj_event_mgr_t event_mgr;
|
||||
opj_codec_t* l_codec = 00;
|
||||
opj_cio_t *cio;
|
||||
opj_bool bSuccess;
|
||||
size_t codestream_length;
|
||||
FILE *f;
|
||||
opj_stream_t *l_stream = 00;
|
||||
(void)argc;
|
||||
|
@ -73,9 +73,7 @@ int main(int argc, char *argv[])
|
||||
opj_image_t *image;
|
||||
opj_event_mgr_t event_mgr;
|
||||
opj_codec_t* l_codec = 00;
|
||||
opj_cio_t *cio;
|
||||
opj_bool bSuccess;
|
||||
size_t codestream_length;
|
||||
FILE *f;
|
||||
opj_stream_t *l_stream = 00;
|
||||
(void)argc;
|
||||
@ -138,9 +136,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
/* read back the generated file */
|
||||
{
|
||||
size_t file_length;
|
||||
FILE *fsrc = fopen(outputfile, "rb");
|
||||
unsigned char *src;
|
||||
opj_codec_t* d_codec = 00;
|
||||
opj_dparameters_t dparameters;
|
||||
assert( fsrc );
|
||||
|
Loading…
Reference in New Issue
Block a user