From: Quim Rovira Date: Sun, 14 Aug 2016 09:03:42 +0000 (+0200) Subject: Break down the long call to BrotliDecoderDecompressStream X-Git-Tag: 0.002~31 X-Git-Url: http://git.ieval.ro/?p=io-compress-brotli.git;a=commitdiff_plain;h=782ccd86a3af112c4e27c2319607c2dc451cf6c5 Break down the long call to BrotliDecoderDecompressStream --- 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"); }