aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-11-11 21:29:37 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-11-11 21:29:37 +0000
commitcb4fe49294157019c9b8090ac41cd598c4a7f553 (patch)
tree1f460420f908cbd07641066870079e4705e66948
parentba83c4bfb55d5c3fc6b3959edb0d3cda07a70241 (diff)
downloadffmpeg-cb4fe49294157019c9b8090ac41cd598c4a7f553.tar.gz
remove declaration inside for(), i is already declared
Originally committed as revision 25722 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavfilter/parseutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/parseutils.c b/libavfilter/parseutils.c
index 6609f083ee..c78b64a5ef 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]);
}