[SCM] libav/experimental: remove declaration inside for(), i is already declared

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:18:53 UTC 2013


The following commit has been merged in the experimental branch:
commit cb4fe49294157019c9b8090ac41cd598c4a7f553
Author: Aurelien Jacobs <aurel at gnuage.org>
Date:   Thu Nov 11 21:29:37 2010 +0000

    remove declaration inside for(), i is already declared
    
    Originally committed as revision 25722 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavfilter/parseutils.c b/libavfilter/parseutils.c
index 6609f08..c78b64a 100644
--- a/libavfilter/parseutils.c
+++ b/libavfilter/parseutils.c
@@ -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]);
         }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list