Commit 169dfe32 authored by Michael Niedermayer's avatar Michael Niedermayer

lcldec: fix zlib const pointer warning

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2ad1eb19
...@@ -140,7 +140,7 @@ static int zlib_decomp(AVCodecContext *avctx, const uint8_t *src, int src_len, i ...@@ -140,7 +140,7 @@ static int zlib_decomp(AVCodecContext *avctx, const uint8_t *src, int src_len, i
av_log(avctx, AV_LOG_ERROR, "Inflate reset error: %d\n", zret); av_log(avctx, AV_LOG_ERROR, "Inflate reset error: %d\n", zret);
return -1; return -1;
} }
c->zstream.next_in = src; c->zstream.next_in = (uint8_t *)src;
c->zstream.avail_in = src_len; c->zstream.avail_in = src_len;
c->zstream.next_out = c->decomp_buf + offset; c->zstream.next_out = c->decomp_buf + offset;
c->zstream.avail_out = c->decomp_size - offset; c->zstream.avail_out = c->decomp_size - offset;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment