[FFmpeg-soc] [soc]: r2000 - libavfilter/vf_drawbox.c

victor subversion at mplayerhq.hu
Sun Mar 9 00:39:11 CET 2008


Author: victor
Date: Sun Mar  9 00:39:11 2008
New Revision: 2000

Log:
Prefix strlwr() to prevent conflicts in platforms that define it.


Modified:
   libavfilter/vf_drawbox.c

Modified: libavfilter/vf_drawbox.c
==============================================================================
--- libavfilter/vf_drawbox.c	(original)
+++ libavfilter/vf_drawbox.c	Sun Mar  9 00:39:11 2008
@@ -55,7 +55,7 @@ typedef struct
     int vsub,hsub;   //< chroma subsampling
 } BoxContext;
 
-static void strlwr(char *str)
+static void box_strlwr(char *str)
 {
     int i = 0;
     while(str[i] != '\0') {
@@ -70,7 +70,7 @@ static box_color get_color(char *color)
 {
     box_color tmp;
     int i;
-    strlwr(color);
+    box_strlwr(color);
     for(i = NUM_COLORS - 1; i >= 0; i--) {
         tmp = colors[i];
         if(!strcmp(color, colors[i].name))



More information about the FFmpeg-soc mailing list