summaryrefslogtreecommitdiff
path: root/libopenjpeg/openjpeg.h
diff options
context:
space:
mode:
authorFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2007-11-14 11:34:48 +0000
committerFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2007-11-14 11:34:48 +0000
commitc458af9cd697c0a5949ef2f5bd4ab5c45530457b (patch)
tree1d187bc13241fb3251c93fded3cf1e3338d51d3d /libopenjpeg/openjpeg.h
parent010ae27471655e3fe05912bd9965245a4f2cd7f3 (diff)
Avoided ABI breakage
Diffstat (limited to 'libopenjpeg/openjpeg.h')
-rw-r--r--libopenjpeg/openjpeg.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libopenjpeg/openjpeg.h b/libopenjpeg/openjpeg.h
index 015c2554..e82e4e07 100644
--- a/libopenjpeg/openjpeg.h
+++ b/libopenjpeg/openjpeg.h
@@ -303,6 +303,10 @@ typedef struct opj_cparameters {
char infile[OPJ_PATH_LEN];
/** output file name */
char outfile[OPJ_PATH_LEN];
+ /** DEPRECATED. Index generation is now handeld with the opj_encode_with_info() function. Set to NULL */
+ int index_on;
+ /** DEPRECATED. Index generation is now handeld with the opj_encode_with_info() function. Set to NULL */
+ char index[OPJ_PATH_LEN];
/** subimage encoding: origin image offset in x direction */
int image_offset_x0;
/** subimage encoding: origin image offset in y direction */
@@ -486,7 +490,7 @@ typedef struct opj_cio {
/** pointer to the start of the buffer */
unsigned char *buffer;
/** buffer size in bytes */
- unsigned int length;
+ int length;
/** pointer to the start of the stream */
unsigned char *start;