Commit cb4fe492 authored by Aurelien Jacobs's avatar Aurelien Jacobs

remove declaration inside for(), i is already declared

Originally committed as revision 25722 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ba83c4bf
...@@ -295,7 +295,7 @@ int main(void) ...@@ -295,7 +295,7 @@ int main(void)
av_log_set_level(AV_LOG_DEBUG); 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) 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]); printf("%s -> R(%d) G(%d) B(%d) A(%d)\n", color_names[i], rgba[0], rgba[1], rgba[2], rgba[3]);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment