X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=Brotli.xs;h=9eb25e257b3a52c4a2546f6719421e29c244dd22;hb=290375682f0e348699a8250e1176e9db71e5e54c;hp=92b4809e9c3b836a433da88eba34f06a290a95ec;hpb=782ccd86a3af112c4e27c2319607c2dc451cf6c5;p=io-compress-brotli.git diff --git a/Brotli.xs b/Brotli.xs index 92b4809..9eb25e2 100644 --- 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); @@ -65,7 +65,7 @@ SV* BrotliDecoderDecompressStream(state, in) (const uint8_t**) &next_in, &available_out, &next_out, - &total_out ); + NULL ); if(!result){ croak("Error in BrotliDecoderDecompressStream"); }