From 782ccd86a3af112c4e27c2319607c2dc451cf6c5 Mon Sep 17 00:00:00 2001 From: Quim Rovira Date: Sun, 14 Aug 2016 11:03:42 +0200 Subject: [PATCH] Break down the long call to BrotliDecoderDecompressStream --- Brotli.xs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Brotli.xs b/Brotli.xs index a14b828..92b4809 100644 --- a/Brotli.xs +++ b/Brotli.xs @@ -60,7 +60,12 @@ SV* BrotliDecoderDecompressStream(state, in) while(result == BROTLI_RESULT_NEEDS_MORE_OUTPUT) { next_out = buffer; available_out=BUFFER_SIZE; - result = BrotliDecoderDecompressStream((BrotliDecoderState*) SvIV(state), &available_in, (const uint8_t**) &next_in, &available_out, &next_out, &total_out); + result = BrotliDecoderDecompressStream( (BrotliDecoderState*) SvIV(state), + &available_in, + (const uint8_t**) &next_in, + &available_out, + &next_out, + &total_out ); if(!result){ croak("Error in BrotliDecoderDecompressStream"); } -- 2.30.2