OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa9c2e4
)
png: fix warning about discarding qualifiers [-Wincompatible-pointer-types]
author
Paul B Mahol
<onemda@gmail.com>
Sun, 25 Mar 2012 10:55:49 +0000
(10:55 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 25 Mar 2012 23:02:11 +0000
(
01:02
+0200)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pngdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/pngdec.c
b/libavcodec/pngdec.c
index
dd1f56b
..
93786a0
100644
(file)
--- a/
libavcodec/pngdec.c
+++ b/
libavcodec/pngdec.c
@@
-364,7
+364,7
@@
static int png_decode_idat(PNGDecContext *s, int length)
{
int ret;
s->zstream.avail_in = FFMIN(length, bytestream2_get_bytes_left(&s->gb));
- s->zstream.next_in = s->gb.buffer;
+ s->zstream.next_in =
(unsigned char *)
s->gb.buffer;
bytestream2_skip(&s->gb, length);
/* decode one line if possible */