Browse Source

Make ff_png_pass_xmin and ff_png_pass_xshift static to png.c.

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
tags/n0.8
Diego Elio Pettenò Janne Grunau 14 years ago
parent
commit
f2e246f576
2 changed files with 2 additions and 8 deletions
  1. +2
    -2
      libavcodec/png.c
  2. +0
    -6
      libavcodec/png.h

+ 2
- 2
libavcodec/png.c View File

@@ -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
};



+ 0
- 6
libavcodec/png.h View File

@@ -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];



Loading…
Cancel
Save