diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-09-21 18:44:41 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-12-08 01:01:00 +0100 |
commit | 4dccfff9dd01d6c45731cda21fc6ea0a649d6581 (patch) | |
tree | d0b4cd35ebaa42e8cf048b6196ae44a651877e48 /libavcodec | |
parent | 9a5d6c23c5cc25b887f996d55f96dfbacf760e88 (diff) | |
download | ffmpeg-4dccfff9dd01d6c45731cda21fc6ea0a649d6581.tar.gz |
tests/examples: Mark some variables only used within their files as static.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dct-test.c | 2 | ||||
-rw-r--r-- | libavcodec/motion-test.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c index d30454990a..1665682698 100644 --- a/libavcodec/dct-test.c +++ b/libavcodec/dct-test.c @@ -151,7 +151,7 @@ static const struct algo idct_tab[] = { #define AANSCALE_BITS 12 -uint8_t cropTbl[256 + 2 * MAX_NEG_CROP]; +static uint8_t cropTbl[256 + 2 * MAX_NEG_CROP]; static int64_t gettime(void) { diff --git a/libavcodec/motion-test.c b/libavcodec/motion-test.c index b054fc9d1b..8708636030 100644 --- a/libavcodec/motion-test.c +++ b/libavcodec/motion-test.c @@ -38,8 +38,8 @@ #define WIDTH 64 #define HEIGHT 64 -uint8_t img1[WIDTH * HEIGHT]; -uint8_t img2[WIDTH * HEIGHT]; +static uint8_t img1[WIDTH * HEIGHT]; +static uint8_t img2[WIDTH * HEIGHT]; static void fill_random(uint8_t *tab, int size) { |