[FFmpeg-cvslog] tiff: fix "assignment discards qualifiers from pointer target type" warning
Michael Niedermayer
git at videolan.org
Mon Oct 8 03:17:59 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Oct 8 03:09:16 2012 +0200| [c5fdd0696ab5cd4dfe82d83b38a355d24dfa540c] | committer: Michael Niedermayer
tiff: fix "assignment discards qualifiers from pointer target type" warning
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c5fdd0696ab5cd4dfe82d83b38a355d24dfa540c
---
libavcodec/tiff.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index 579bd0d..351504b 100644
--- a/libavcodec/tiff.c
+++ b/libavcodec/tiff.c
@@ -332,7 +332,7 @@ static int tiff_uncompress(uint8_t *dst, unsigned long *len, const uint8_t *src,
z_stream zstream = { 0 };
int zret;
- zstream.next_in = src;
+ zstream.next_in = (uint8_t *)src;
zstream.avail_in = size;
zstream.next_out = dst;
zstream.avail_out = *len;
More information about the ffmpeg-cvslog
mailing list