summaryrefslogtreecommitdiff
path: root/libavcodec/png.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-03-22 22:52:55 +0100
committerClément Bœsch <ubitux@gmail.com>2012-03-22 22:53:51 +0100
commit50a3867bab1762b98339d9ef9cafd05b4b3bcced (patch)
tree299e22b4755229cd7cf7cd2b2c82096059f70dce /libavcodec/png.c
parentabdcb4918c14611b5771e1c3c256052041442267 (diff)
png: make ff_png_pass_mask local to pngdec.
Diffstat (limited to 'libavcodec/png.c')
-rw-r--r--libavcodec/png.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/png.c b/libavcodec/png.c
index ecca31e960..332701c68a 100644
--- a/libavcodec/png.c
+++ b/libavcodec/png.c
@@ -39,11 +39,6 @@ static const uint8_t ff_png_pass_xshift[NB_PASSES] = {
3, 3, 2, 2, 1, 1, 0
};
-/* Mask to determine which pixels are valid in a pass */
-const uint8_t ff_png_pass_mask[NB_PASSES] = {
- 0x01, 0x01, 0x11, 0x11, 0x55, 0x55, 0xff,
-};
-
void *ff_png_zalloc(void *opaque, unsigned int items, unsigned int size)
{
if(items >= UINT_MAX / size)