remove declaration inside for(), i is already declared

Originally committed as revision 25722 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Aurelien Jacobs 2010-11-11 21:29:37 +00:00
parent ba83c4bfb5
commit cb4fe49294
1 changed files with 1 additions and 1 deletions

View File

@ -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]);
}