summaryrefslogtreecommitdiff
path: root/libavcodec/png.c
diff options
context:
space:
mode:
authorStefan Huehner <stefan@huehner.org>2006-06-18 11:33:14 +0000
committerDiego Biurrun <diego@biurrun.de>2006-06-18 11:33:14 +0000
commit7b49ce2e344a5f8864d8365d57f3c6c743f0c8f7 (patch)
tree12c908af01e95ca2df7f4ca20be592871527577e /libavcodec/png.c
parent3b9bee88891d1c170eb42d1ef51c5cd7f19b5ba5 (diff)
Add const to (mostly) char* and make some functions static, which aren't used
outside their declaring source file and which have no corresponding prototype. patch by Stefan Huehner stefan^^@^^huehner^^.^^org Originally committed as revision 5497 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/png.c')
-rw-r--r--libavcodec/png.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/png.c b/libavcodec/png.c
index c96638c2d8..efe4cdf4ff 100644
--- a/libavcodec/png.c
+++ b/libavcodec/png.c
@@ -346,7 +346,7 @@ static void convert_from_rgba32(uint8_t *dst, const uint8_t *src, int width)
d = dst;
for(j = 0; j < width; j++) {
- v = ((uint32_t *)src)[j];
+ v = ((const uint32_t *)src)[j];
d[0] = v >> 16;
d[1] = v >> 8;
d[2] = v;