Break down the long call to BrotliDecoderDecompressStream
authorQuim Rovira <quim@rovira.cat>
Sun, 14 Aug 2016 09:03:42 +0000 (11:03 +0200)
committerQuim Rovira <quim@rovira.cat>
Sun, 14 Aug 2016 09:03:42 +0000 (11:03 +0200)
Brotli.xs

index a14b828c089dc170df4e576f32b2d8da4b7b3fbb..92b4809e9c3b836a433da88eba34f06a290a95ec 100644 (file)
--- 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");
         }
This page took 0.010861 seconds and 4 git commands to generate.