summaryrefslogtreecommitdiff
path: root/libopenjpeg/t1.c
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2006-01-27 16:29:41 +0000
committerAntonin Descampe <antonin@gmail.com>2006-01-27 16:29:41 +0000
commit72de930d08c8a08d082bf14805767e251d6f048d (patch)
tree9bda108d0bfab6aa2c0ca1c09b7a5f26a81238e7 /libopenjpeg/t1.c
parent8a662fa4b1dc489a8d6d5fe687499f25f856ba67 (diff)
fixed two initialization problems in t1.c and tcd.c
Diffstat (limited to 'libopenjpeg/t1.c')
-rw-r--r--libopenjpeg/t1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopenjpeg/t1.c b/libopenjpeg/t1.c
index feb1f734..6b153502 100644
--- a/libopenjpeg/t1.c
+++ b/libopenjpeg/t1.c
@@ -524,7 +524,7 @@ static void t1_encode_cblk(opj_t1_t *t1, opj_tcd_cblk_t * cblk, int orient, int
int passno;
int bpno, passtype;
int max;
- int nmsedec;
+ int nmsedec = 0;
double cumwmsedec = 0;
char type = T1_TYPE_MQ;