summaryrefslogtreecommitdiff
path: root/vhook
diff options
context:
space:
mode:
authorDieter <freebsd@sopwith.solgatos.com>2006-01-30 23:41:27 +0000
committerMåns Rullgård <mans@mansr.com>2006-01-30 23:41:27 +0000
commitefce1a8fea2d7fb3272992042b9d56f58deb9834 (patch)
tree823978fe5707b7dcca1a881c8175e5a3956b0f05 /vhook
parentceaf1909c19431e9b089535fae32a7f8d185d802 (diff)
downloadffmpeg-efce1a8fea2d7fb3272992042b9d56f58deb9834.tar.gz
add static keyword to some functions
patch by Dieter <freebsd at sopwith solgatos com> Originally committed as revision 4914 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'vhook')
-rw-r--r--vhook/drawtext.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vhook/drawtext.c b/vhook/drawtext.c
index a18d358cb2..a218cc5551 100644
--- a/vhook/drawtext.c
+++ b/vhook/drawtext.c
@@ -116,7 +116,7 @@ void Release(void *ctx)
}
-int ParseColor(char *text, unsigned char yuv_color[3])
+static int ParseColor(char *text, unsigned char yuv_color[3])
{
char tmp[3];
unsigned char rgb_color[3];
@@ -300,7 +300,7 @@ int Configure(void **ctxp, int argc, char *argv[])
-inline void draw_glyph(AVPicture *picture, FT_Bitmap *bitmap, unsigned int x, unsigned int y, unsigned int width, unsigned int height, unsigned char yuv_fgcolor[3], unsigned char yuv_bgcolor[3], int outline)
+static inline void draw_glyph(AVPicture *picture, FT_Bitmap *bitmap, unsigned int x, unsigned int y, unsigned int width, unsigned int height, unsigned char yuv_fgcolor[3], unsigned char yuv_bgcolor[3], int outline)
{
int r, c;
int spixel, dpixel[3], in_glyph=0;
@@ -363,7 +363,7 @@ inline void draw_glyph(AVPicture *picture, FT_Bitmap *bitmap, unsigned int x, un
}
-inline void draw_box(AVPicture *picture, unsigned int x, unsigned int y, unsigned int width, unsigned int height, unsigned char yuv_color[3])
+static inline void draw_box(AVPicture *picture, unsigned int x, unsigned int y, unsigned int width, unsigned int height, unsigned char yuv_color[3])
{
int i, j;