diff src/dmres.c @ 1076:21b0aedb7b5c

Also initialize DMZLibContext.inBufferStart where needed.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 02 Mar 2015 04:46:34 +0200
parents e98bc627ad08
children 7681f7063500
line wrap: on
line diff
--- a/src/dmres.c	Mon Mar 02 04:17:30 2015 +0200
+++ b/src/dmres.c	Mon Mar 02 04:46:34 2015 +0200
@@ -406,7 +406,7 @@
     }
 
     // Initialize decompression structures
-    ctx.inBuffer     = inBuf;
+    ctx.inBuffer     = ctx.inBufferStart = inBuf;
     ctx.inBufferEnd  = inBuf + node->length;
 
     ctx.outBuffer    = ctx.outBufferStart = handle->rawData;