mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 22:10:34 +00:00
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:
parent
ba83c4bfb5
commit
cb4fe49294
@ -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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user