diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-02-19 10:09:46 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-02-19 10:09:46 +0000 |
commit | 6f2162b4713ab5e6c5181708590555b031d4ce2b (patch) | |
tree | 66a6557edaf2089e47bf2628d7fac00a591ce194 /tests/rotozoom.c | |
parent | 859bb3cfee28efff9c965d4c9320c7837b85849e (diff) | |
download | ffmpeg-6f2162b4713ab5e6c5181708590555b031d4ce2b.tar.gz |
Mark functions only used within the test programs as static.
Originally committed as revision 17454 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/rotozoom.c')
-rw-r--r-- | tests/rotozoom.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/rotozoom.c b/tests/rotozoom.c index 52f5546a39..ea422acc04 100644 --- a/tests/rotozoom.c +++ b/tests/rotozoom.c @@ -121,8 +121,8 @@ static void rgb24_to_yuv420p(UINT8 *lum, UINT8 *cb, UINT8 *cr, #define DEFAULT_HEIGHT 288 #define DEFAULT_NB_PICT 50 -void pgmyuv_save(const char *filename, int w, int h, - unsigned char *rgb_tab) +static void pgmyuv_save(const char *filename, int w, int h, + unsigned char *rgb_tab) { FILE *f; int i, h2, w2; @@ -158,7 +158,7 @@ void pgmyuv_save(const char *filename, int w, int h, unsigned char *rgb_tab; int width, height, wrap; -void put_pixel(int x, int y, int r, int g, int b) +static void put_pixel(int x, int y, int r, int g, int b) { unsigned char *p; @@ -195,7 +195,7 @@ static int ipol(uint8_t *src, int x, int y){ return (((1<<16) - frac_y)*s0 + frac_y*s1)>>24; } -void gen_image(int num, int w, int h) +static void gen_image(int num, int w, int h) { const int c = h_cos [teta]; const int s = h_sin [teta]; @@ -240,7 +240,7 @@ void gen_image(int num, int w, int h) #define W 256 #define H 256 -void init_demo(const char *filename) { +static void init_demo(const char *filename) { int i,j; int h; int radian; |