]> iEval git - io-compress-brotli.git/blobdiff - Brotli.xs
Remove unuser var total_out
[io-compress-brotli.git] / Brotli.xs
index b7f33d6012844a79533460534f8c06c40c7506af..9eb25e257b3a52c4a2546f6719421e29c244dd22 100644 (file)
--- a/Brotli.xs
+++ b/Brotli.xs
@@ -51,7 +51,7 @@ SV* BrotliDecoderDecompressStream(state, in)
     SV* in
   PREINIT:
     uint8_t *next_in, *next_out;
-    size_t available_in, available_out, total_out;
+    size_t available_in, available_out;
     BrotliDecoderResult result;
   CODE:
     next_in = (uint8_t*) SvPV(in, available_in);
@@ -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,
+                                                NULL );
         if(!result){
              croak("Error in BrotliDecoderDecompressStream");
         }
@@ -69,7 +74,7 @@ SV* BrotliDecoderDecompressStream(state, in)
   OUTPUT:
     RETVAL
 
-void BrotliSetCustomDictionary(state, dict)
+void BrotliDecoderSetCustomDictionary(state, dict)
     SV* state
     SV* dict
   PREINIT:
This page took 0.019818 seconds and 4 git commands to generate.