[FFmpeg-cvslog] Make ff_png_pass_xmin and ff_png_pass_xshift static to png.c.

Diego Elio Pettenò git
Wed Jan 26 04:01:19 CET 2011


ffmpeg | branch: master | Diego Elio Petten? <flameeyes at gmail.com> | Tue Jan 25 02:29:41 2011 +0100| [ff0d737d6e6708f86a4545af6489e3cfe5284c9a] | committer: Michael Niedermayer

Make ff_png_pass_xmin and ff_png_pass_xshift static to png.c.

Signed-off-by: Janne Grunau <janne-ffmpeg at jannau.net>
(cherry picked from commit f2e246f576cd53e75b3696e1db418be98fbda76f)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ff0d737d6e6708f86a4545af6489e3cfe5284c9a
---

 libavcodec/png.c |    4 ++--
 libavcodec/png.h |    6 ------
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/libavcodec/png.c b/libavcodec/png.c
index 534dc68..d7898c0 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
 };
 
diff --git a/libavcodec/png.h b/libavcodec/png.h
index 7c0ab9f..bab5224 100644
--- a/libavcodec/png.h
+++ b/libavcodec/png.h
@@ -55,12 +55,6 @@ extern const uint8_t ff_mngsig[8];
 /* Mask to determine which y pixels are valid in a pass */
 extern const uint8_t ff_png_pass_ymask[NB_PASSES];
 
-/* minimum x value */
-extern const uint8_t ff_png_pass_xmin[NB_PASSES];
-
-/* x shift to get row width */
-extern const uint8_t ff_png_pass_xshift[NB_PASSES];
-
 /* Mask to determine which pixels are valid in a pass */
 extern const uint8_t ff_png_pass_mask[NB_PASSES];
 




More information about the ffmpeg-cvslog mailing list