diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2019-09-12 17:23:41 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2020-05-08 09:11:56 +0800 |
commit | 1b3d5090c5b9955887ba6743084bbda1eb50439b (patch) | |
tree | 163e34bb6c1299d690955819e20e836293765d5b /libavcodec/tiff.c | |
parent | 4cea39ad9b993e88413ddc4868b0b281b8a5e83e (diff) | |
download | ffmpeg-1b3d5090c5b9955887ba6743084bbda1eb50439b.tar.gz |
avcodec/tiff: 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/tiff.c')
-rw-r--r-- | libavcodec/tiff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index 45cb225d0a..5e4f424b67 100644 --- a/libavcodec/tiff.c +++ b/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; |