diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-02-18 12:51:35 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-02-18 12:51:35 +0000 |
| commit | 6a4572a56fe69583c68b8330c527ac346e2402fc (patch) | |
| tree | 10c4cd9a409aeb282e3c126b7dd91df33b597780 /libopenjpeg/t2.c | |
| parent | fba75d93c4fec162fa41e16f798f82f0bc1e2f17 (diff) | |
COMP: Fix declaration hides parameter len
Diffstat (limited to 'libopenjpeg/t2.c')
| -rw-r--r-- | libopenjpeg/t2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopenjpeg/t2.c b/libopenjpeg/t2.c index 43e1fe24..d9336ee1 100644 --- a/libopenjpeg/t2.c +++ b/libopenjpeg/t2.c @@ -125,7 +125,7 @@ static int t2_getnumpasses(opj_bio_t *bio) { return (37 + bio_read(bio, 7)); } -static int t2_encode_packet(opj_tcd_tile_t * tile, opj_tcp_t * tcp, opj_pi_iterator_t *pi, unsigned char *dest, int len, opj_image_info_t * image_info, int tileno) { +static int t2_encode_packet(opj_tcd_tile_t * tile, opj_tcp_t * tcp, opj_pi_iterator_t *pi, unsigned char *dest, int length, opj_image_info_t * image_info, int tileno) { int bandno, cblkno; unsigned char *sop = 0, *eph = 0; unsigned char *c = dest; @@ -170,7 +170,7 @@ static int t2_encode_packet(opj_tcd_tile_t * tile, opj_tcp_t * tcp, opj_pi_itera } bio = bio_create(); - bio_init_enc(bio, c, len); + bio_init_enc(bio, c, length); bio_write(bio, 1, 1); /* Empty header bit */ /* Writing Packet header */ |
