avcodec/tiff: remove the unnecessary type conversion

Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
pull/338/head
Limin Wang 5 years ago
parent 4cea39ad9b
commit 1b3d5090c5
  1. 2
      libavcodec/tiff.c

@ -393,7 +393,7 @@ static int tiff_uncompress(uint8_t *dst, unsigned long *len, const uint8_t *src,
z_stream zstream = { 0 };
int zret;
zstream.next_in = (uint8_t *)src;
zstream.next_in = src;
zstream.avail_in = size;
zstream.next_out = dst;
zstream.avail_out = *len;

Loading…
Cancel
Save