aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/outputBuffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c
index a2cfed48e..37b0e2f20 100644
--- a/src/outputBuffer.c
+++ b/src/outputBuffer.c
@@ -28,6 +28,8 @@ void initOutputBuffer(OutputBuffer * cb, unsigned int size)
memset(&cb->convState, 0, sizeof(ConvState));
cb->chunks = xmalloc(size * sizeof(*cb->chunks));
cb->size = size;
+ cb->begin = 0;
+ cb->end = 0;
cb->currentChunk = -1;
}