[Ffmpeg-cvslog] CVS: ffmpeg/vhook drawtext.c,1.7,1.8
Måns Rullgård CVS
mru
Tue Jan 31 00:41:29 CET 2006
Update of /cvsroot/ffmpeg/ffmpeg/vhook
In directory mail:/var2/tmp/cvs-serv9979/vhook
Modified Files:
drawtext.c
Log Message:
add static keyword to some functions
patch by Dieter <freebsd at sopwith solgatos com>
Index: drawtext.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/vhook/drawtext.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- drawtext.c 12 Jan 2006 22:43:26 -0000 1.7
+++ drawtext.c 30 Jan 2006 23:41:27 -0000 1.8
@@ -116,7 +116,7 @@
}
-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 @@
-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_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;
More information about the ffmpeg-cvslog
mailing list