mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/lcldec: remove the unnecessary type conversion
Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
parent
8b07751123
commit
9d442102b9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue