mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
lcldec: fix zlib const pointer warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
2ad1eb1907
commit
169dfe320d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user