Avoided ABI breakage
authorFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>
Wed, 14 Nov 2007 11:34:48 +0000 (11:34 +0000)
committerFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>
Wed, 14 Nov 2007 11:34:48 +0000 (11:34 +0000)
ChangeLog
libopenjpeg/openjpeg.h

index 68819688d622483df828cd6643d874f843ed57f8..1b6550e410adc185c4fba0fb2602b1e6228499b0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,8 @@ November 14, 2007
                them in the encoder, getting the decoder to do it was tricky enough... I also split opj_tcd_cblk_t into separate 
                encode and decode versions. A lot of fields were not used by both, so this cuts its size even further.
 
+* [FOD] Avoided ABI breakage
+
 November 13, 2007
 ! [FOD] Patch by Dzonatas and Callum Lerwick.
         Fp/vectorization patch which basically converts most of the irreversible decode codepath to floating point,
index 015c255411d647e910bf959820febe889ad4a803..e82e4e0761a5f34cbb08a023fb304d9781fe67a8 100644 (file)
@@ -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;