summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dct-test.c2
-rw-r--r--libavcodec/motion-test.c4
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)
{