summaryrefslogtreecommitdiff
path: root/libavcodec/png.c
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gmail.com>2011-01-25 02:29:41 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-01-26 03:43:32 +0100
commitff0d737d6e6708f86a4545af6489e3cfe5284c9a (patch)
treebd78fde7f521a7df99721efb70c91ff6fd75cbe2 /libavcodec/png.c
parent998d9ee7a446b421505978a45f947bc47d384957 (diff)
downloadffmpeg-ff0d737d6e6708f86a4545af6489e3cfe5284c9a.tar.gz
Make ff_png_pass_xmin and ff_png_pass_xshift static to png.c.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit f2e246f576cd53e75b3696e1db418be98fbda76f)
Diffstat (limited to 'libavcodec/png.c')
-rw-r--r--libavcodec/png.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/png.c b/libavcodec/png.c
index 534dc68bf1..d7898c0a41 100644
--- a/libavcodec/png.c
+++ b/libavcodec/png.c
@@ -31,12 +31,12 @@ const uint8_t ff_png_pass_ymask[NB_PASSES] = {
};
/* minimum x value */
-const uint8_t ff_png_pass_xmin[NB_PASSES] = {
+static const uint8_t ff_png_pass_xmin[NB_PASSES] = {
0, 4, 0, 2, 0, 1, 0
};
/* x shift to get row width */
-const uint8_t ff_png_pass_xshift[NB_PASSES] = {
+static const uint8_t ff_png_pass_xshift[NB_PASSES] = {
3, 3, 2, 2, 1, 1, 0
};