diff options
| author | Antonin Descampe <antonin@gmail.com> | 2006-01-27 16:29:41 +0000 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2006-01-27 16:29:41 +0000 |
| commit | 72de930d08c8a08d082bf14805767e251d6f048d (patch) | |
| tree | 9bda108d0bfab6aa2c0ca1c09b7a5f26a81238e7 /libopenjpeg/tcd.c | |
| parent | 8a662fa4b1dc489a8d6d5fe687499f25f856ba67 (diff) | |
fixed two initialization problems in t1.c and tcd.c
Diffstat (limited to 'libopenjpeg/tcd.c')
| -rw-r--r-- | libopenjpeg/tcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopenjpeg/tcd.c b/libopenjpeg/tcd.c index 8454d576..77fca831 100644 --- a/libopenjpeg/tcd.c +++ b/libopenjpeg/tcd.c @@ -1056,7 +1056,7 @@ bool tcd_rateallocate(opj_tcd_t *tcd, unsigned char *dest, int len, opj_image_in double hi = max; int success = 0; int maxlen = tcd_tcp->rates[layno] ? int_min(tcd_tcp->rates[layno], len) : len; - double goodthresh; + double goodthresh = 0; int i; double distotarget; /* fixed_quality */ |
