diff options
Diffstat (limited to 'src/lib/jpeg.c')
-rw-r--r-- | src/lib/jpeg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/jpeg.c b/src/lib/jpeg.c index e6626b8131..c07109d099 100644 --- a/src/lib/jpeg.c +++ b/src/lib/jpeg.c @@ -498,7 +498,8 @@ static int dec_rec2(struct in *in, struct dec_hufftbl *hu, int *runp, int c, *runp = i >> 8 & 15; i >>= 16; } else { - for (i = DECBITS; (c = ((c << 1) | GETBITS(in, 1))) >= (hu->maxcode[i]); i++); + for (i = DECBITS; (c = ((c << 1) | GETBITS(in, 1))) >= (hu->maxcode[i]); i++) + ; if (i >= 16) { in->marker = M_BADHUFF; return 0; |