[Ffmpeg-devel] [PATCH] part 18 - portability fixes (ILP32 vs LP64)

Dieter freebsd
Sun Jan 29 21:29:59 CET 2006


Diffs for file: vhook/drawtext.c

===================================================================
RCS file: RCS/drawtext.c,v
retrieving revision 1.1
diff -u -r1.1 drawtext.c
--- drawtext.c  2006/01/26 22:16:09     1.1
+++ drawtext.c  2006/01/30 02:43:43
@@ -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 i
nt 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, uns
igned 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 c
har yuv_color[3])
+static inline void draw_box(AVPicture *picture, unsigned int x, unsigned int y, unsigned int width, unsigned int height, uns
igned char yuv_color[3])
 {
   int i, j;
 





More information about the ffmpeg-devel mailing list