Commit 1b3d5090 authored by Limin Wang's avatar Limin Wang

avcodec/tiff: remove the unnecessary type conversion

Reviewed-by: 's avatarCarl Eugen Hoyos <ceffmpeg@gmail.com>
Signed-off-by: 's avatarLimin Wang <lance.lmwang@gmail.com>
parent 4cea39ad
...@@ -393,7 +393,7 @@ static int tiff_uncompress(uint8_t *dst, unsigned long *len, const uint8_t *src, ...@@ -393,7 +393,7 @@ static int tiff_uncompress(uint8_t *dst, unsigned long *len, const uint8_t *src,
z_stream zstream = { 0 }; z_stream zstream = { 0 };
int zret; int zret;
zstream.next_in = (uint8_t *)src; zstream.next_in = src;
zstream.avail_in = size; zstream.avail_in = size;
zstream.next_out = dst; zstream.next_out = dst;
zstream.avail_out = *len; zstream.avail_out = *len;
......
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