[Ffmpeg-devel] [PATCH] part18 resend - fixes for compiler warnings
Dieter
freebsd
Mon Jan 30 15:07:27 CET 2006
Here is part 18 again, hopefully correct this time.
(sorry about the previous version)
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 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-devel
mailing list