summaryrefslogtreecommitdiff
path: root/libavcodec/motion-test.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-03-31 09:32:59 +0000
committerDiego Biurrun <diego@biurrun.de>2009-03-31 09:32:59 +0000
commit504ffed19f990f91237479be93480d9b597561e2 (patch)
tree0112de10541e64bca39496011f62f0284ee87470 /libavcodec/motion-test.c
parentcafe71c62d87955172dd6d8fcb277988f00e92e2 (diff)
Mark non-exported functions in test and example programs as static.
Originally committed as revision 18259 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/motion-test.c')
-rw-r--r--libavcodec/motion-test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/motion-test.c b/libavcodec/motion-test.c
index 90f0a2e1bc..fb21ee974b 100644
--- a/libavcodec/motion-test.c
+++ b/libavcodec/motion-test.c
@@ -41,7 +41,7 @@
uint8_t img1[WIDTH * HEIGHT];
uint8_t img2[WIDTH * HEIGHT];
-void fill_random(uint8_t *tab, int size)
+static void fill_random(uint8_t *tab, int size)
{
int i;
AVLFG prn;
@@ -56,14 +56,14 @@ void fill_random(uint8_t *tab, int size)
}
}
-void help(void)
+static void help(void)
{
printf("motion-test [-h]\n"
"test motion implementations\n");
exit(1);
}
-int64_t gettime(void)
+static int64_t gettime(void)
{
struct timeval tv;
gettimeofday(&tv,NULL);
@@ -74,7 +74,7 @@ int64_t gettime(void)
int dummy;
-void test_motion(const char *name,
+static void test_motion(const char *name,
me_cmp_func test_func, me_cmp_func ref_func)
{
int x, y, d1, d2, it;