[FFmpeg-soc] [soc]: r4729 - jpeg2000/j2kdec.c
jai_menon
subversion at mplayerhq.hu
Sun Jul 19 12:10:00 CEST 2009
Author: jai_menon
Date: Sun Jul 19 12:10:00 2009
New Revision: 4729
Log:
Cosmetics : Add braces to the inner loop.
Modified:
jpeg2000/j2kdec.c
Modified: jpeg2000/j2kdec.c
==============================================================================
--- jpeg2000/j2kdec.c Fri Jul 17 12:59:46 2009 (r4728)
+++ jpeg2000/j2kdec.c Sun Jul 19 12:10:00 2009 (r4729)
@@ -803,7 +803,7 @@ static int decode_tile(J2kDecoderContext
x = tile->comp[0].coord[0][0] - s->image_offset_x;
dst = line + x * s->ncomponents;
- for (; x < tile->comp[0].coord[0][1] - s->image_offset_x; x++)
+ for (; x < tile->comp[0].coord[0][1] - s->image_offset_x; x++) {
for (compno = 0; compno < s->ncomponents; compno++){
*src[compno] += 1 << (s->cbps[compno]-1);
if (*src[compno] < 0)
@@ -812,7 +812,7 @@ static int decode_tile(J2kDecoderContext
*src[compno] = (1 << s->cbps[compno]) - 1;
*dst++ = *src[compno]++;
}
-
+ }
line += s->picture.linesize[0];
}
} else {
More information about the FFmpeg-soc
mailing list