diff options
Diffstat (limited to 'ext/standard/image.c')
-rw-r--r-- | ext/standard/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/image.c b/ext/standard/image.c index d21a91b8b6..c2f640ed45 100644 --- a/ext/standard/image.c +++ b/ext/standard/image.c @@ -653,7 +653,7 @@ static struct gfxinfo *php_handle_jpc(php_stream * stream TSRMLS_DC) } /* Collect bit depth info */ - highest_bit_depth = 0; + highest_bit_depth = bit_depth = 0; for (i = 0; i < result->channels; i++) { bit_depth = php_stream_getc(stream); /* Ssiz[i] */ bit_depth++; |