diff options
| author | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2007-10-12 15:04:34 +0000 |
|---|---|---|
| committer | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2007-10-12 15:04:34 +0000 |
| commit | 1f11a4fe903ef65fa31d579b3fec4e56e7a26c37 (patch) | |
| tree | 57de01335dac013008be881bcb13638712c82975 /libopenjpeg/t2.c | |
| parent | ab0473aa42c3a069a0101f9dbbef1557635dca2b (diff) | |
Changed the way the image structure is allocated when the decoding parameters include some resolutions to discard. This should have a significant impact for the decoding of huge images when some resolutions are discarder (-r parameter)
Warning: The output image size is now reduced when discarding resolutions !
Diffstat (limited to 'libopenjpeg/t2.c')
| -rw-r--r-- | libopenjpeg/t2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libopenjpeg/t2.c b/libopenjpeg/t2.c index a30bb53a..7fb53ef2 100644 --- a/libopenjpeg/t2.c +++ b/libopenjpeg/t2.c @@ -586,7 +586,6 @@ int t2_encode_packets(opj_t2_t* t2,int tileno, opj_tcd_tile_t *tile, int maxlaye unsigned char *c = dest; int e = 0; int compno; - int comp_len = 0; opj_pi_iterator_t *pi = NULL; int poc; opj_image_t *image = t2->image; |
