1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

tests: Mark some file-internal symbols as static.

This commit is contained in:
Diego Biurrun 2012-04-30 16:29:26 +02:00
parent b5a3c6038d
commit 814208a7a6
2 changed files with 11 additions and 11 deletions

View File

@ -160,8 +160,8 @@ static void pgmyuv_save(const char *filename, int w, int h,
free(cr_tab);
}
unsigned char *rgb_tab;
int width, height, wrap;
static unsigned char *rgb_tab;
static int width, height, wrap;
static void put_pixel(int x, int y, int r, int g, int b)
{
@ -177,12 +177,12 @@ static void put_pixel(int x, int y, int r, int g, int b)
p[2] = b;
}
unsigned char tab_r[256 * 256];
unsigned char tab_g[256 * 256];
unsigned char tab_b[256 * 256];
static unsigned char tab_r[256 * 256];
static unsigned char tab_g[256 * 256];
static unsigned char tab_b[256 * 256];
int h_cos[360];
int h_sin[360];
static int h_cos[360];
static int h_sin[360];
static int ipol(uint8_t *src, int x, int y)
{

View File

@ -137,8 +137,8 @@ static void pgmyuv_save(const char *filename, int w, int h,
free(cr_tab);
}
unsigned char *rgb_tab;
int width, height, wrap;
static unsigned char *rgb_tab;
static int width, height, wrap;
static void put_pixel(int x, int y, int r, int g, int b)
{
@ -200,9 +200,9 @@ typedef struct VObj {
int r, g, b;
} VObj;
VObj objs[NB_OBJS];
static VObj objs[NB_OBJS];
unsigned int seed = 1;
static unsigned int seed = 1;
static void gen_image(int num, int w, int h)
{