diff options
Diffstat (limited to 'src/lib/libjpeg/jdarith.c')
| -rw-r--r-- | src/lib/libjpeg/jdarith.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libjpeg/jdarith.c b/src/lib/libjpeg/jdarith.c index c858b248b6b..d5c04953195 100644 --- a/src/lib/libjpeg/jdarith.c +++ b/src/lib/libjpeg/jdarith.c @@ -125,11 +125,11 @@ arith_decode (j_decompress_ptr cinfo, unsigned char *st) data = 0xFF; /* discard stuffed zero byte */ else { /* Note: Different from the Huffman decoder, hitting - * a marker while processing the compressed data - * segment is legal in arithmetic coding. - * The convention is to supply zero data - * then until decoding is complete. - */ + * a marker while processing the compressed data + * segment is legal in arithmetic coding. + * The convention is to supply zero data + * then until decoding is complete. + */ cinfo->unread_marker = data; data = 0; } @@ -765,7 +765,7 @@ jinit_arith_decoder (j_decompress_ptr cinfo) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, cinfo->num_components*DCTSIZE2*SIZEOF(int)); coef_bit_ptr = & cinfo->coef_bits[0][0]; - for (ci = 0; ci < cinfo->num_components; ci++) + for (ci = 0; ci < cinfo->num_components; ci++) for (i = 0; i < DCTSIZE2; i++) *coef_bit_ptr++ = -1; } |
