diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2019-09-12 12:23:39 +0300 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2020-05-08 04:11:56 +0300 |
commit | 9d442102b9093405f4e2525a9f97e51fe5303a80 (patch) | |
tree | 32f9a2714404f0bf30c9fad72fb5e7e615318fbb /libavcodec/lcldec.c | |
parent | 8b077511238e97d8657fb58551befc63cf5e29ed (diff) |
avcodec/lcldec: remove the unnecessary type conversion
Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
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 c51083bdf2..2dcd249b65 100644 --- a/libavcodec/lcldec.c +++ b/libavcodec/lcldec.c @@ -136,7 +136,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 AVERROR_UNKNOWN; } - c->zstream.next_in = (uint8_t *)src; + c->zstream.next_in = src; c->zstream.avail_in = src_len; c->zstream.next_out = c->decomp_buf + offset; c->zstream.avail_out = c->decomp_size - offset; |