diff options
Diffstat (limited to 'stream')
-rw-r--r-- | stream/filt_a85e.c | 4 | ||||
-rw-r--r-- | stream/filt_faxc.h | 8 | ||||
-rw-r--r-- | stream/filt_faxd.c | 2 | ||||
-rw-r--r-- | stream/filt_faxe.c | 2 | ||||
-rw-r--r-- | stream/filt_flate.c | 2 | ||||
-rw-r--r-- | stream/filt_lzwe.c | 2 | ||||
-rw-r--r-- | stream/filt_rle.c | 2 | ||||
-rw-r--r-- | stream/obj_array.c | 2 | ||||
-rw-r--r-- | stream/obj_dict.c | 2 | ||||
-rw-r--r-- | stream/obj_parse.c | 2 |
10 files changed, 14 insertions, 14 deletions
diff --git a/stream/filt_a85e.c b/stream/filt_a85e.c index 357bd4de..f7b5912d 100644 --- a/stream/filt_a85e.c +++ b/stream/filt_a85e.c @@ -96,13 +96,13 @@ fz_processa85e(fz_filter *filter, fz_buffer *in, fz_buffer *out) case 1: word |= in->rp[0] << 24; } in->rp += count; - + divisor = 85L * 85 * 85 * 85; while (count-- >= 0) { *out->wp++ = ((word / divisor) % 85) + '!'; divisor /= 85; } - + *out->wp++ = '~'; *out->wp++ = '>'; out->eof = 1; diff --git a/stream/filt_faxc.h b/stream/filt_faxc.h index 14cae13f..f11334be 100644 --- a/stream/filt_faxc.h +++ b/stream/filt_faxc.h @@ -31,7 +31,7 @@ getrun(const unsigned char *line, int x, int w, int c) { int z; int b; - + if (x < 0) x = 0; @@ -47,7 +47,7 @@ getrun(const unsigned char *line, int x, int w, int c) return z - x; } -static inline int +static inline int findchanging(const unsigned char *line, int x, int w) { int a, b; @@ -77,7 +77,7 @@ findchanging(const unsigned char *line, int x, int w) return x; } -static inline int +static inline int findchangingcolor(const unsigned char *line, int x, int w, int color) { if (line == 0) @@ -97,7 +97,7 @@ static const unsigned char lm[8] = static const unsigned char rm[8] = { 0x00, 0x80, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC, 0xFE }; -static inline void +static inline void setbits(unsigned char *line, int x0, int x1) { int a0, a1, b0, b1, a; diff --git a/stream/filt_faxd.c b/stream/filt_faxd.c index 45f9d556..fbf7a6b8 100644 --- a/stream/filt_faxd.c +++ b/stream/filt_faxd.c @@ -19,7 +19,7 @@ typedef struct fz_faxd_s fz_faxd; struct fz_faxd_s { fz_filter super; - + int k; int endofline; int encodedbytealign; diff --git a/stream/filt_faxe.c b/stream/filt_faxe.c index 97c16c0d..811b5a29 100644 --- a/stream/filt_faxe.c +++ b/stream/filt_faxe.c @@ -330,7 +330,7 @@ process(fz_faxe *fax, fz_buffer *in, fz_buffer *out) fax->a0 = -1; fax->stage ++; - + case 3: error = 0; /* to silence compiler */ diff --git a/stream/filt_flate.c b/stream/filt_flate.c index 00310172..1e048c17 100644 --- a/stream/filt_flate.c +++ b/stream/filt_flate.c @@ -164,7 +164,7 @@ fz_dropflatee(fz_filter *f) err = deflateEnd(zp); if (err != Z_OK) fprintf(stderr, "deflateEnd: %s", zp->msg); - + fz_free(f); } diff --git a/stream/filt_lzwe.c b/stream/filt_lzwe.c index a24d8fe5..978b6ef2 100644 --- a/stream/filt_lzwe.c +++ b/stream/filt_lzwe.c @@ -203,7 +203,7 @@ resume: /* reserve space for this code and an eventual CLEAR code */ if (out->wp + 5 > out->ep) - { + { lzw->resume = 1; return fz_ioneedout; } diff --git a/stream/filt_rle.c b/stream/filt_rle.c index 598733e1..6160e148 100644 --- a/stream/filt_rle.c +++ b/stream/filt_rle.c @@ -224,7 +224,7 @@ fprintf(stderr, "--record--\n"); case END: error = puteod(enc, in, out); if (error) return error; - + out->eof = 1; return fz_iodone; } diff --git a/stream/obj_array.c b/stream/obj_array.c index 666e113a..cfcd3fb1 100644 --- a/stream/obj_array.c +++ b/stream/obj_array.c @@ -12,7 +12,7 @@ fz_newarray(fz_obj **op, int initialcap) obj = *op = fz_malloc(sizeof (fz_obj)); if (!obj) return fz_outofmem; - obj->refs = 1; + obj->refs = 1; obj->kind = FZ_ARRAY; obj->u.a.len = 0; diff --git a/stream/obj_dict.c b/stream/obj_dict.c index 2eef56b5..0981e8a3 100644 --- a/stream/obj_dict.c +++ b/stream/obj_dict.c @@ -32,7 +32,7 @@ fz_newdict(fz_obj **op, int initialcap) obj = *op = fz_malloc(sizeof (fz_obj)); if (!obj) return fz_outofmem; - obj->refs = 1; + obj->refs = 1; obj->kind = FZ_DICT; obj->u.d.sorted = 1; diff --git a/stream/obj_parse.c b/stream/obj_parse.c index bd8133a2..73b761cb 100644 --- a/stream/obj_parse.c +++ b/stream/obj_parse.c @@ -285,7 +285,7 @@ static fz_error *parsehexstring(fz_obj **obj, char **sp) *p++ = fromhex(a) * 16 + fromhex(b); } - + *sp = s; return fz_newstring(obj, buf, p - buf); } |