[FFmpeg-cvslog] r25722 - trunk/libavfilter/parseutils.c

aurel subversion
Thu Nov 11 22:29:37 CET 2010


Author: aurel
Date: Thu Nov 11 22:29:37 2010
New Revision: 25722

Log:
remove declaration inside for(), i is already declared

Modified:
   trunk/libavfilter/parseutils.c

Modified: trunk/libavfilter/parseutils.c
==============================================================================
--- trunk/libavfilter/parseutils.c	Thu Nov 11 16:24:11 2010	(r25721)
+++ trunk/libavfilter/parseutils.c	Thu Nov 11 22:29:37 2010	(r25722)
@@ -295,7 +295,7 @@ int main(void)
 
         av_log_set_level(AV_LOG_DEBUG);
 
-        for (int i = 0;  i < FF_ARRAY_ELEMS(color_names); i++) {
+        for (i = 0;  i < FF_ARRAY_ELEMS(color_names); i++) {
             if (av_parse_color(rgba, color_names[i], NULL) >= 0)
                 printf("%s -> R(%d) G(%d) B(%d) A(%d)\n", color_names[i], rgba[0], rgba[1], rgba[2], rgba[3]);
         }



More information about the ffmpeg-cvslog mailing list