diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-26 01:37:38 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-26 01:37:38 +0100 |
commit | 169dfe320d3a1ec4ebc5d8d54663c226242d07b4 (patch) | |
tree | a3507fac3dcf4f9a82e3a163b2b7923a29769a1c /libavcodec/lcldec.c | |
parent | 2ad1eb190781ba438a0941f420cf7d340d917845 (diff) | |
download | ffmpeg-169dfe320d3a1ec4ebc5d8d54663c226242d07b4.tar.gz |
lcldec: fix zlib const pointer warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/lcldec.c')
-rw-r--r-- | libavcodec/lcldec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/lcldec.c b/libavcodec/lcldec.c index 9b5e16decc..5708a12d3d 100644 --- a/libavcodec/lcldec.c +++ b/libavcodec/lcldec.c @@ -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); return -1; } - c->zstream.next_in = src; + c->zstream.next_in = (uint8_t *)src; c->zstream.avail_in = src_len; c->zstream.next_out = c->decomp_buf + offset; c->zstream.avail_out = c->decomp_size - offset; |