diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-15 20:46:57 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-15 21:38:22 +0200 |
commit | 60e9b8556ab33af8087968b1de15867ede7c5685 (patch) | |
tree | ee1031742cd98f5098911576e0ce6a9bd3f059cd | |
parent | 165b65771de966f0d47eb236d2135f1beddfcac1 (diff) | |
download | ffmpeg-60e9b8556ab33af8087968b1de15867ede7c5685.tar.gz |
swscale_unscaled: make dither_scale static, its not used elsewhere and has no prefix
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libswscale/swscale_internal.h | 1 | ||||
-rw-r--r-- | libswscale/swscale_unscaled.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index e7cc26ea54..18563eed78 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -805,7 +805,6 @@ static av_always_inline int usePal(enum AVPixelFormat pix_fmt) extern const uint64_t ff_dither4[2]; extern const uint64_t ff_dither8[2]; extern const uint8_t dithers[8][8][8]; -extern const uint16_t dither_scale[15][16]; extern const AVClass sws_context_class; diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index 3b07800d02..8735c62ba3 100644 --- a/libswscale/swscale_unscaled.c +++ b/libswscale/swscale_unscaled.c @@ -109,7 +109,7 @@ DECLARE_ALIGNED(8, const uint8_t, dithers)[8][8][8]={ { 112, 16,104, 8,118, 22,110, 14,}, }}; -const uint16_t dither_scale[15][16]={ +static const uint16_t dither_scale[15][16]={ { 2, 3, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,}, { 2, 3, 7, 7, 13, 13, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25,}, { 3, 3, 4, 15, 15, 29, 57, 57, 57, 113, 113, 113, 113, 113, 113, 113,}, |