diff options
| author | maddin200 <maddin200@aol.com> | 2016-06-21 22:13:57 +0200 |
|---|---|---|
| committer | Matthieu Darbois <mayeut@users.noreply.github.com> | 2016-06-21 22:13:57 +0200 |
| commit | cb72c08472f2e82387ebdde1792c6b39a25019d5 (patch) | |
| tree | d7df6c6c7073d7a572ac2fbb901351003433fec9 /src | |
| parent | 898ca6f52247cf869b66048b21871f236fd5f900 (diff) | |
Update tcd.c (#790)
cppcheck unitialized variable
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/openjp3d/tcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/openjp3d/tcd.c b/src/lib/openjp3d/tcd.c index 1d0d0f52..ee0b2d16 100644 --- a/src/lib/openjp3d/tcd.c +++ b/src/lib/openjp3d/tcd.c @@ -9,7 +9,7 @@ * Copyright (c) 2003-2005, Francois Devaux and Antonin Descampe * Copyright (c) 2005, Herve Drolon, FreeImage Team * Copyright (c) 2002-2005, Communications and remote sensing Laboratory, Universite catholique de Louvain, Belgium - * Copyright (c) 2006, Mónica Díez, LPI-UVA, Spain + * Copyright (c) 2006, Mónica DÃez, LPI-UVA, Spain * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1389,7 +1389,7 @@ bool tcd_rateallocate(opj_tcd_t *tcd, unsigned char *dest, int len, opj_volume_i /* ----------------------------------------------------------------------- */ int tcd_encode_tile(opj_tcd_t *tcd, int tileno, unsigned char *dest, int len, opj_volume_info_t * volume_info) { int compno; - int l, i, npck = 0; + int l = 0, i, npck = 0; double encoding_time; opj_tcd_tile_t *tile = NULL; |
