diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-07-21 21:07:18 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-07-21 21:07:18 +0000 |
| commit | abe8e93c21b42a738a5035869d9550284a9eb09e (patch) | |
| tree | b0c961cdeaea7f4b65e743ad05912625d7a0ac3d /codec/convert.h | |
| parent | f222743e195963bd2db85627405f0f50102fe5b6 (diff) | |
ENH: Marking const char * what should be const char *. TODO need to fix code for imagetopgx.
Diffstat (limited to 'codec/convert.h')
| -rw-r--r-- | codec/convert.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/codec/convert.h b/codec/convert.h index a3876547..47690df1 100644 --- a/codec/convert.h +++ b/codec/convert.h @@ -30,9 +30,9 @@ #ifndef __J2K_CONVERT_H #define __J2K_CONVERT_H -opj_image_t* bmptoimage(char *filename, opj_cparameters_t *parameters); +opj_image_t* bmptoimage(const char *filename, opj_cparameters_t *parameters); -int imagetobmp(opj_image_t *image, char *outfile); +int imagetobmp(opj_image_t *image, const char *outfile); /** Load a single image component encoded in PGX file format @@ -40,13 +40,13 @@ Load a single image component encoded in PGX file format @param parameters *List ?* @return Returns a greyscale image if successful, returns NULL otherwise */ -opj_image_t* pgxtoimage(char *filename, opj_cparameters_t *parameters); +opj_image_t* pgxtoimage(const char *filename, opj_cparameters_t *parameters); -int imagetopgx(opj_image_t *image, char *outfile); +int imagetopgx(opj_image_t *image, const char *outfile); -opj_image_t* pnmtoimage(char *filename, opj_cparameters_t *parameters); +opj_image_t* pnmtoimage(const char *filename, opj_cparameters_t *parameters); -int imagetopnm(opj_image_t *image, char *outfile); +int imagetopnm(opj_image_t *image, const char *outfile); #endif /* __J2K_CONVERT_H */ |
